From 3e90599e73b12db76e89f1e84087eb760793cb39 Mon Sep 17 00:00:00 2001 From: malsup Date: Wed, 6 Apr 2011 07:10:06 -0400 Subject: [PATCH] v2.69 - honor default success callback --- jquery.form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jquery.form.js b/jquery.form.js index cbed190a..3ad71f89 100644 --- a/jquery.form.js +++ b/jquery.form.js @@ -1,6 +1,6 @@ /*! * jQuery Form Plugin - * version: 2.68 (05-APR-2011) + * version: 2.69 (06-APR-2011) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ @@ -64,6 +64,7 @@ $.fn.ajaxSubmit = function(options) { options = $.extend(true, { url: url, + success: $.ajaxSettings.success, type: this[0].getAttribute('method') || 'GET', // IE7 massage (see issue 57) iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank' }, options);