0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

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 e7b439545f
commit 40acf28321

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"}); }