summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-28 12:53:15 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-28 12:53:15 -0800
commit416607e559747a88eb42f367f17b70714aa96ef2 (patch)
treeb22adba8aee61e91d54e6c3439a94fa8d0ad0feb /apps
parent040076ffc20bffdbc1a08dcf3f1988a9043cd8a7 (diff)
parenta319fa8d47504df0d6b2470f45d7099afef8a5dd (diff)
downloadnextcloud-server-416607e559747a88eb42f367f17b70714aa96ef2.tar.gz
nextcloud-server-416607e559747a88eb42f367f17b70714aa96ef2.zip
Merge pull request #1979 from maelzx/patch-2
Fix window.location mistakes in previous code
Diffstat (limited to 'apps')
-rw-r--r--apps/files_versions/js/versions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index b82b9001fdb..a5b24417483 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -32,7 +32,7 @@ $(document).ready(function(){
});
function goToVersionPage(url){
- window.location(url);
+ window.location.assign(url);
}
function createVersionsDropdown(filename, files) {