Fix bug in firefox

svn path=/trunk/; revision=24224
This commit is contained in:
otto
2012-09-05 10:36:52 +00:00
parent bdffea8f00
commit 5c94d70f75

View File

@@ -152,7 +152,7 @@
submitHandler: function(form) {
/* stop form from submitting normally */
event.preventDefault();
event.preventDefault(); // does not seem to work in Firefox
var $submitbutton = $("form.support input[type='submit']");
$submitbutton.val($submitbutton.attr("data-loading-text"))
@@ -167,6 +167,7 @@
}
);
return false; // prevent submit (at least in Firefox)
}
});
});