diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-04-17 16:04:34 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-04-17 16:04:34 +0200 |
commit | ec6c2a3fabc4a394804a224cb4ec7a4409d2214d (patch) | |
tree | f8f87711f16fc169bf91fd4e1c27c7ad5b6cb1ad | |
parent | 2264615d207c38f6daa6a72b7285e99cbf551038 (diff) | |
parent | 7554374c5c0267bed8bfe17a9f22f16e70f86474 (diff) | |
download | nextcloud-server-ec6c2a3fabc4a394804a224cb4ec7a4409d2214d.tar.gz nextcloud-server-ec6c2a3fabc4a394804a224cb4ec7a4409d2214d.zip |
Merge pull request #8115 from owncloud/stable5-fixselectallanddownload
[stable5] Added missing var that messes up IE8
-rw-r--r-- | apps/files/js/files.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 87486c82bc7..af5ae964504 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -230,7 +230,8 @@ $(document).ready(function() { var dir=$('#dir').val()||'/'; OC.Notification.show(t('files','Your download is being prepared. This might take some time if the files are big.')); // use special download URL if provided, e.g. for public shared files - if ( (downloadURL = document.getElementById("downloadURL")) ) { + var downloadURL = document.getElementById("downloadURL"); + if (downloadURL) { window.location=downloadURL.value+"&download&files="+encodeURIComponent(fileslist); } else { window.location=OC.filePath('files', 'ajax', 'download.php') + '?'+ $.param({ dir: dir, files: fileslist }); |