diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-02-26 08:34:59 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-02-26 08:34:59 -0800 |
commit | 44f658bb8f04b9d3f8a6c63af813834baf5c42b6 (patch) | |
tree | c6c4fae51c38a6991411ca7f0edee3cfc8d8899e /lib/jquery.form.js | |
parent | 90d8700d1801ae852e9808921c47d3ed01f1db72 (diff) | |
parent | 3f2d005e5fb51eecfd86c39e6d09193198902f7f (diff) |
Merge pull request #166 from shadlaws/update_jquery_20130226
Update jQuery libraries to current as of 2013/02/26, in sync with gallery3-vendor.
Diffstat (limited to 'lib/jquery.form.js')
-rw-r--r-- | lib/jquery.form.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/jquery.form.js b/lib/jquery.form.js index 64a91606..89d54306 100644 --- a/lib/jquery.form.js +++ b/lib/jquery.form.js @@ -1,6 +1,6 @@ /*! * jQuery Form Plugin - * version: 3.26.0-2013.01.28 + * version: 3.27.0-2013.02.06 * @requires jQuery v1.5 or later * * Examples and documentation at: http://malsup.com/jquery/form/ @@ -263,7 +263,7 @@ $.fn.ajaxSubmit = function(options) { s.xhr = function() { var xhr = jQuery.ajaxSettings.xhr(); if (xhr.upload) { - xhr.upload.onprogress = function(event) { + xhr.upload.addEventListener('progress', function(event) { var percent = 0; var position = event.loaded || event.position; /*event.position is deprecated*/ var total = event.total; @@ -271,7 +271,7 @@ $.fn.ajaxSubmit = function(options) { percent = Math.ceil(position / total * 100); } options.uploadProgress(event, position, total, percent); - }; + }, false); } return xhr; }; |