mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Merge pull request #3370 from vismay-golwala/scroll_top
UI - scroll to top in pagination Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -57,6 +57,7 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
|
|||||||
$scope.collection = res.data.results;
|
$scope.collection = res.data.results;
|
||||||
$scope.$emit('updateDataset', res.data, queryset);
|
$scope.$emit('updateDataset', res.data, queryset);
|
||||||
});
|
});
|
||||||
|
$('html, body').animate({scrollTop: 0}, 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
function calcLast() {
|
function calcLast() {
|
||||||
|
|||||||
Reference in New Issue
Block a user