mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
remove query string on URL
when navigating thru tower we do not want query params to persist when routes change
This commit is contained in:
parent
b6c18fcc13
commit
133e3cd675
@ -1047,6 +1047,9 @@ var tower = angular.module('Tower', [
|
||||
});
|
||||
|
||||
$rootScope.$on("$routeChangeStart", function (event, next) {
|
||||
// this line removes the query params attached to a route
|
||||
$location.search('');
|
||||
|
||||
// Before navigating away from current tab, make sure the primary view is visible
|
||||
if ($('#stream-container').is(':visible')) {
|
||||
HideStream();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user