mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Merge pull request #2742 from jlmitch5/fixScrollTop
fix scroll top Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -310,11 +310,11 @@ angular
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!_.isEqual(toParamsWithoutSearchKeys, fromParamsWithoutSearchKeys)) {
|
if(!_.isEqual(toParamsWithoutSearchKeys, fromParamsWithoutSearchKeys)) {
|
||||||
document.querySelector('.at-Layout-main').scrollTop = 0;
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
document.querySelector('.at-Layout-main').scrollTop = 0;
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trans.from().name === 'license' && trans.params('to').hasOwnProperty('licenseMissing')) {
|
if (trans.from().name === 'license' && trans.params('to').hasOwnProperty('licenseMissing')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user