Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6db6c2aea8
@ -405,7 +405,9 @@ AJAX.registerOnload('functions.js', function () {
|
||||
// Registering the onload event for functions.js
|
||||
// ensures that it will be fired for all pages
|
||||
$('form').not('.ajax').not('.disableAjax').each(function () {
|
||||
$(this).data('onsubmit', this.onsubmit).attr('onsubmit', '');
|
||||
if ($(this).attr('onsubmit')) {
|
||||
$(this).data('onsubmit', this.onsubmit).attr('onsubmit', '');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user