incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [29/50] [abbrv] git commit: Fixed a document hash bug for Firefox
Date Sat, 31 May 2014 14:22:02 GMT
Fixed a document hash bug for Firefox


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/354749ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/354749ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/354749ff

Branch: refs/heads/apache-blur-0.2
Commit: 354749ffaf131208428f9f9f5cf68a82de19d277
Parents: d54fcfd
Author: chrisrohr <rohr.chris@gmail.com>
Authored: Wed May 28 17:33:12 2014 +0000
Committer: chrisrohr <rohr.chris@gmail.com>
Committed: Wed May 28 17:33:12 2014 +0000

----------------------------------------------------------------------
 contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/354749ff/contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js b/contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js
index 9060ea1..aaba5a7 100755
--- a/contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js
+++ b/contrib/blur-console/src/main/webapp/js/utils/jquery.uriAnchor.js
@@ -57,7 +57,7 @@
 
     // Begin internal utility to clean bookmark
     getCleanAnchorString = function () {
-      return String( document.location.hash )
+      return String( document.location.href.split('#')[1] || '' )
         // remove any leading pounds or bangs
         .replace( configMap.regex_anchor_clean1 , '' )
         // snip off after question-mark ( a ClickStreet bug )


Mime
View raw message