summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-25 16:28:52 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-25 16:28:52 +0200
commita9d0e9a5d5510392b559c69cb79fbe1b64a84f03 (patch)
tree3bdabf741282a9b925424126be62a7180df44162 /core
parent16396e2e3314a3dcd0fde2396212e3986e6e8ad2 (diff)
parent9de3d8225b4a0bf17bd65817eb16fdad537142df (diff)
downloadnextcloud-server-a9d0e9a5d5510392b559c69cb79fbe1b64a84f03.tar.gz
nextcloud-server-a9d0e9a5d5510392b559c69cb79fbe1b64a84f03.zip
Merge pull request #9202 from owncloud/urlhashfix
Do not clear URL hash when no external mount params given
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index a8dd9ca889d..544b26647a9 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1411,6 +1411,10 @@ OC.Util.History = {
if (pos >= 0) {
return hash.substr(pos + 1);
}
+ if (hash.length) {
+ // remove hash sign
+ return hash.substr(1);
+ }
return '';
},