mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03:30
Merge pull request #290 from jaredevantabor/routeParams
remove query string on URL
This commit is contained in:
@@ -1047,6 +1047,9 @@ var tower = angular.module('Tower', [
|
|||||||
});
|
});
|
||||||
|
|
||||||
$rootScope.$on("$routeChangeStart", function (event, next) {
|
$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
|
// Before navigating away from current tab, make sure the primary view is visible
|
||||||
if ($('#stream-container').is(':visible')) {
|
if ($('#stream-container').is(':visible')) {
|
||||||
HideStream();
|
HideStream();
|
||||||
|
|||||||
Reference in New Issue
Block a user