aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp')
-rw-r--r--vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js6
-rw-r--r--vendor/blueimp/jquery-file-upload/package-lock.json2
-rw-r--r--vendor/blueimp/jquery-file-upload/package.json2
-rw-r--r--vendor/blueimp/jquery-file-upload/server/php/UploadHandler.php4
4 files changed, 8 insertions, 6 deletions
diff --git a/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js b/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
index 562708c6b..ff725cf14 100644
--- a/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
+++ b/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
@@ -54,6 +54,8 @@
// as the user clicks on the start buttons. To enable automatic
// uploads, set the following option to true:
autoUpload: false,
+ // The class to show/hide UI elements:
+ showElementClass: 'in',
// The ID of the upload template:
uploadTemplateId: 'template-upload',
// The ID of the download template:
@@ -614,9 +616,9 @@
};
node
.bind($.support.transition.end, transitionEndHandler)
- .toggleClass('in');
+ .toggleClass(this.options.showElementClass);
} else {
- node.toggleClass('in');
+ node.toggleClass(this.options.showElementClass);
dfd.resolveWith(node);
}
return dfd;
diff --git a/vendor/blueimp/jquery-file-upload/package-lock.json b/vendor/blueimp/jquery-file-upload/package-lock.json
index 60b45d14f..5c5dd5a88 100644
--- a/vendor/blueimp/jquery-file-upload/package-lock.json
+++ b/vendor/blueimp/jquery-file-upload/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "blueimp-file-upload",
- "version": "10.3.0",
+ "version": "10.4.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/vendor/blueimp/jquery-file-upload/package.json b/vendor/blueimp/jquery-file-upload/package.json
index 55ff49854..e3ef85ec0 100644
--- a/vendor/blueimp/jquery-file-upload/package.json
+++ b/vendor/blueimp/jquery-file-upload/package.json
@@ -1,6 +1,6 @@
{
"name": "blueimp-file-upload",
- "version": "10.3.0",
+ "version": "10.4.0",
"title": "jQuery File Upload",
"description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.",
"keywords": [
diff --git a/vendor/blueimp/jquery-file-upload/server/php/UploadHandler.php b/vendor/blueimp/jquery-file-upload/server/php/UploadHandler.php
index bc6f3a249..62f65a51f 100644
--- a/vendor/blueimp/jquery-file-upload/server/php/UploadHandler.php
+++ b/vendor/blueimp/jquery-file-upload/server/php/UploadHandler.php
@@ -497,7 +497,7 @@ class UploadHandler
$name = $this->upcount_name($name);
}
// Keep an existing filename if this is part of a chunked upload:
- $uploaded_bytes = $this->fix_integer_overflow((int)$content_range[1]);
+ $uploaded_bytes = $this->fix_integer_overflow((int)@$content_range[1]);
while (is_file($this->get_upload_path($name))) {
if ($uploaded_bytes === $this->get_file_size(
$this->get_upload_path($name))) {
@@ -1394,7 +1394,7 @@ class UploadHandler
$content_range_header = $this->get_server_var('HTTP_CONTENT_RANGE');
$content_range = $content_range_header ?
preg_split('/[^0-9]+/', $content_range_header) : null;
- $size = $content_range ? $content_range[3] : null;
+ $size = @$content_range[3];
$files = array();
if ($upload) {
if (is_array($upload['tmp_name'])) {