usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [63/83] [abbrv] git commit: patch url rewrite, causes firefox issues
Date Wed, 05 Feb 2014 17:21:55 GMT
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/heads/two-dot-o
Commit: 9687b651baddd66525a66b7880cfd4935ff6a2bf
Parents: 4777ab2
Author: Shawn Feldman <shawn.feldman@gmail.com>
Authored: Tue Jan 28 10:06:04 2014 -0700
Committer: Shawn Feldman <shawn.feldman@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();


Mime
View raw message