mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-28 11:43:35 -05:00
fixing issue with scrolling due to UI-router upgrade
This commit is contained in:
@@ -331,11 +331,11 @@ angular
|
||||
}
|
||||
|
||||
if(!_.isEqual(toParamsWithoutSearchKeys, fromParamsWithoutSearchKeys)) {
|
||||
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
||||
document.querySelector('.at-Layout-main').scrollTop = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
||||
document.querySelector('.at-Layout-main').scrollTop = 0;
|
||||
}
|
||||
|
||||
if (trans.from().name === 'license' && trans.params('to').hasOwnProperty('licenseMissing')) {
|
||||
|
||||
Reference in New Issue
Block a user