You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/01/28 21:22:45 UTC

[74/79] [abbrv] git commit: patch url rewrite, causes firefox issues

patch url rewrite, causes firefox issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/9687b651
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/9687b651
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/9687b651

Branch: refs/pull/29/merge
Commit: 9687b651baddd66525a66b7880cfd4935ff6a2bf
Parents: 4777ab2
Author: Shawn Feldman <sh...@gmail.com>
Authored: Tue Jan 28 10:06:04 2014 -0700
Committer: Shawn Feldman <sh...@gmail.com>
Committed: Tue Jan 28 10:06:04 2014 -0700

----------------------------------------------------------------------
 portal/js/global/page-controller.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/9687b651/portal/js/global/page-controller.js
----------------------------------------------------------------------
diff --git a/portal/js/global/page-controller.js b/portal/js/global/page-controller.js
index 81aafcb..eb861e4 100644
--- a/portal/js/global/page-controller.js
+++ b/portal/js/global/page-controller.js
@@ -129,8 +129,9 @@ AppServices.Controllers.controller('PageCtrl',
        ug.set('token', $routeParams.access_token);
        ug.set('email', $routeParams.admin_email);
        ug.set('uuid', $routeParams.uuid);
-       var clean_uri = location.protocol + "//" + location.host + location.pathname;
-       window.history.replaceState({}, document.title, clean_uri);
+       $location.search('access_token', null);
+       $location.search('admin_email', null);
+       $location.search('uuid', null);
      }
 
      $scope.deferredLogin = $q.defer();