[Pkg-owncloud-commits] [owncloud] 36/55: Added missing var that messes up IE8
David Prévot
taffit at moszumanska.debian.org
Wed Apr 23 19:52:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.16RC1
in repository owncloud.
commit 7554374c5c0267bed8bfe17a9f22f16e70f86474
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Tue Apr 8 18:38:24 2014 +0200
Added missing var that messes up IE8
---
apps/files/js/files.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 87486c8..af5ae96 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 });
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list