(js) Update jQuery (1.12.4) and jQuery-UI (1.11.4)

This fixes the issue of attaching a file to a draft by drag'n'drop.
This commit is contained in:
Francis Lachapelle
2016-12-08 14:36:46 -05:00
parent cbcc942e73
commit 3a96b3b315
12 changed files with 32 additions and 2298 deletions

View File

@@ -18,7 +18,7 @@
// Register as an anonymous AMD module:
define([
'jquery',
'jquery.ui.widget'
'jquery-ui/widget'
], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS:
@@ -1080,6 +1080,8 @@
_handleFileTreeEntry: function (entry, path) {
var that = this,
dfd = $.Deferred(),
entries = [],
dirReader,
errorHandler = function (e) {
if (e && !e.entry) {
e.entry = entry;
@@ -1107,8 +1109,7 @@
readEntries();
}
}, errorHandler);
},
dirReader, entries = [];
};
path = path || '';
if (entry.isFile) {
if (entry._file) {
@@ -1311,6 +1312,10 @@
this._off(this.options.fileInput, 'change');
},
_destroy: function () {
this._destroyEventHandlers();
},
_setOption: function (key, value) {
var reinit = $.inArray(key, this._specialOptions) !== -1;
if (reinit) {