Browse files

Update to jQuery 1.9.1.

This allows to remove the workaround introduced here:
d64d95a
767b3eb5c55f147e31aee
  • Loading branch information...
1 parent e1bff7d commit 25ecbff0fbdc76d18232840f4564bc5f23eaf6a3 @blueimp committed Mar 3, 2013
Showing with 4 additions and 19 deletions.
  1. +1 −1 cors/postmessage.html
  2. +1 −1 index.html
  3. +1 −16 js/jquery.fileupload.js
  4. +1 −1 test/index.html
View
2 cors/postmessage.html
@@ -15,7 +15,7 @@
<head>
<meta charset="utf-8">
<title>jQuery File Upload Plugin postMessage API</title>
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<script>
View
2 index.html
@@ -211,7 +211,7 @@ <h3 class="modal-title"></h3>
</tr>
{% } %}
</script>
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="js/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
View
17 js/jquery.fileupload.js
@@ -1,5 +1,5 @@
/*
- * jQuery File Upload Plugin 5.21.2
+ * jQuery File Upload Plugin 5.21.3
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
@@ -33,21 +33,6 @@
$.support.xhrFileUpload = !!(window.XMLHttpRequestUpload && window.FileReader);
$.support.xhrFormDataFileUpload = !!window.FormData;
- // The form.elements propHook is added to filter serialized elements
- // to not include file inputs in jQuery 1.9.0.
- // This hooks directly into jQuery.fn.serializeArray.
- // For more info, see http://bugs.jquery.com/ticket/13306
- $.propHooks.elements = {
- get: function (form) {
- if ($.nodeName(form, 'form')) {
- return $.grep(form.elements, function (elem) {
- return !$.nodeName(elem, 'input') || elem.type !== 'file';
- });
- }
- return null;
- }
- };
-
// The fileupload widget listens for change events on file input fields defined
// via fileInput setting and paste or drop events of the given dropZone.
// In addition to the default jQuery Widget methods, the fileupload widget
View
2 test/index.html
@@ -129,7 +129,7 @@ <h2 id="qunit-userAgent"></h2>
</tr>
{% } %}
</script>
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="../js/vendor/jquery.ui.widget.js"></script>
<script src="http://blueimp.github.com/JavaScript-Templates/tmpl.min.js"></script>
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>

0 comments on commit 25ecbff

Please sign in to comment.