From 133e3cd67538c00f22871173e0481a017489a652 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 19 Jun 2015 16:10:53 -0400 Subject: [PATCH] remove query string on URL when navigating thru tower we do not want query params to persist when routes change --- awx/ui/static/js/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 3cc7d22350..1d54706f30 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -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();