(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
-2283
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+8 -3
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) {
@@ -1,5 +1,5 @@
/*
* jQuery Iframe Transport Plugin 1.8.2
* jQuery Iframe Transport Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
@@ -9,13 +9,16 @@
* http://www.opensource.org/licenses/MIT
*/
/* global define, window, document */
/* global define, require, window, document */
(function (factory) {
;(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS:
factory(require('jquery'));
} else {
// Browser globals:
factory(window.jQuery);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long