summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authormaelzx <maelzx@gmail.com>2013-02-28 11:26:42 +0800
committermaelzx <maelzx@gmail.com>2013-02-28 11:26:42 +0800
commita319fa8d47504df0d6b2470f45d7099afef8a5dd (patch)
tree7ec3c53390fa8091a867c3c0070226f91b72b073 /apps/files_versions/js
parenta2147c4f890e400fd37f20aa45472e3a5a5954c8 (diff)
downloadnextcloud-server-a319fa8d47504df0d6b2470f45d7099afef8a5dd.tar.gz
nextcloud-server-a319fa8d47504df0d6b2470f45d7099afef8a5dd.zip
Fix window.location mistakes in previous code
Sorry guys, I commit theĀ incompleteĀ code. It should be window.location.assign(url); However this is just tested in google chrome.
Diffstat (limited to 'apps/files_versions/js')
-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) {