diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-06-25 16:28:52 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-06-25 16:28:52 +0200 |
commit | a9d0e9a5d5510392b559c69cb79fbe1b64a84f03 (patch) | |
tree | 3bdabf741282a9b925424126be62a7180df44162 /core | |
parent | 16396e2e3314a3dcd0fde2396212e3986e6e8ad2 (diff) | |
parent | 9de3d8225b4a0bf17bd65817eb16fdad537142df (diff) | |
download | nextcloud-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.js | 4 |
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 ''; }, |