Fix for dropzone

no issue
- dropzone is disabled when fileStorage = false
This commit is contained in:
Sebastian Gierlinger 2013-10-02 13:34:16 +02:00
parent bcc7ad9a41
commit 998f28209e

View File

@ -80,7 +80,7 @@
data.submit();
});
},
dropZone: $dropzone,
dropZone: settings.fileStorage ? $dropzone : null,
progressall: function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
if (!settings.editor) {$progress.find('div.js-progress').css({"position": "absolute", "top": "40px"}); }