Skip to content

Commit 25ecbff

Browse files
committed
Update to jQuery 1.9.1.
This allows to remove the workaround introduced here: blueimp@d64d95a329850415258 767b3eb5c55f147e31aee
1 parent e1bff7d commit 25ecbff

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

cors/postmessage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<head>
1616
<meta charset="utf-8">
1717
<title>jQuery File Upload Plugin postMessage API</title>
18-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
18+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
1919
</head>
2020
<body>
2121
<script>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ <h3 class="modal-title"></h3>
211211
</tr>
212212
{% } %}
213213
</script>
214-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
214+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
215215
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
216216
<script src="js/vendor/jquery.ui.widget.js"></script>
217217
<!-- The Templates plugin is included to render the upload/download listings -->

js/jquery.fileupload.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload Plugin 5.21.2
2+
* jQuery File Upload Plugin 5.21.3
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2010, Sebastian Tschan
@@ -33,21 +33,6 @@
3333
$.support.xhrFileUpload = !!(window.XMLHttpRequestUpload && window.FileReader);
3434
$.support.xhrFormDataFileUpload = !!window.FormData;
3535

36-
// The form.elements propHook is added to filter serialized elements
37-
// to not include file inputs in jQuery 1.9.0.
38-
// This hooks directly into jQuery.fn.serializeArray.
39-
// For more info, see http://bugs.jquery.com/ticket/13306
40-
$.propHooks.elements = {
41-
get: function (form) {
42-
if ($.nodeName(form, 'form')) {
43-
return $.grep(form.elements, function (elem) {
44-
return !$.nodeName(elem, 'input') || elem.type !== 'file';
45-
});
46-
}
47-
return null;
48-
}
49-
};
50-
5136
// The fileupload widget listens for change events on file input fields defined
5237
// via fileInput setting and paste or drop events of the given dropZone.
5338
// In addition to the default jQuery Widget methods, the fileupload widget

test/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h2 id="qunit-userAgent"></h2>
129129
</tr>
130130
{% } %}
131131
</script>
132-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
132+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
133133
<script src="../js/vendor/jquery.ui.widget.js"></script>
134134
<script src="http://blueimp.github.com/JavaScript-Templates/tmpl.min.js"></script>
135135
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>

0 commit comments

Comments
 (0)