diff options
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index edee72ca3ca..0d7207b7abb 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -2160,7 +2160,12 @@ OC.Util.History = { if (!this._handlers.length) { return; } - params = (e && e.state) || this.parseUrlQuery() || {}; + params = (e && e.state); + if (_.isString(params)) { + params = OC.parseQueryString(params); + } else if (!params) { + params = this.parseUrlQuery() || {}; + } for (var i = 0; i < this._handlers.length; i++) { this._handlers[i](params); } |