Consider both hash params and query when parsing URL

This commit is contained in:
Vincent Petry 2015-09-28 18:37:40 +02:00
parent d68079f932
commit 71dabc6c13
1 changed files with 1 additions and 3 deletions

View File

@ -1773,9 +1773,7 @@ OC.Util.History = {
params = OC.parseQueryString(this._decodeQuery(query));
}
// else read from query attributes
if (!params) {
params = OC.parseQueryString(this._decodeQuery(location.search));
}
params = _.extend(params || {}, OC.parseQueryString(this._decodeQuery(location.search)));
return params || {};
},