diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-06 23:44:40 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-06 23:44:40 +0200 |
commit | ce035016460d8285d5511e67b389d494eb78c1ce (patch) | |
tree | 30a9a60b0e90622802984a860b050134e3fff430 /apps/files/js | |
parent | 673e0c01a79927359319ff15411a33f460d85ac5 (diff) | |
download | nextcloud-server-ce035016460d8285d5511e67b389d494eb78c1ce.tar.gz nextcloud-server-ce035016460d8285d5511e67b389d494eb78c1ce.zip |
fine ie8 compatability
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/file-upload.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 47d1188b511..ead397c569e 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -197,7 +197,11 @@ OC.Upload = { }, onAutorename:function(data){ this.logStatus('autorename', null, data); - data.data.append('resolution', 'autorename'); + if (data.data) { + data.data.append('resolution', 'autorename'); + } else { + data.formData.push({name:'resolution',value:'autorename'}); //hack for ie8 + } data.submit(); }, logStatus:function(caption, e, data) { |