From 3f2d005e5fb51eecfd86c39e6d09193198902f7f Mon Sep 17 00:00:00 2001 From: shadlaws Date: Tue, 26 Feb 2013 12:19:51 +0100 Subject: Update jQuery libraries to current as of 2013/02/26, in sync with gallery3-vendor. - updated jquery.cookie.js - updated jquery.form.js --- lib/jquery.form.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/jquery.form.js') 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; }; -- cgit v1.2.3