Fix: Don't have file upload widgets listen to drop events by default

That way they won't be triggered by gcode uploads when all they are interested in
are uploads via a single file input.
This commit is contained in:
Gina Häußge 2015-09-28 12:55:32 +02:00
parent b4b5689bc4
commit 1b4ea75466

View file

@ -21,6 +21,15 @@ $(function() {
headers: {"X-Api-Key": UI_API_KEY}
});
//~~ Initialize file upload plugin
$.widget("blueimp.fileupload", $.blueimp.fileupload, {
options: {
dropZone: null,
pasteZone: null
}
});
//~~ Initialize i18n
var catalog = window["BABEL_TO_LOAD_" + LOCALE];