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:
parent
b4b5689bc4
commit
1b4ea75466
1 changed files with 9 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue