ajax.js: fix a cache problem: clicking back sometimes makes submit button disabled
This commit is contained in:
parent
9fb63b053f
commit
f6415f7d69
@ -14,6 +14,9 @@
|
||||
$(window).ready(function() {
|
||||
var settings = new script_settings('ajax');
|
||||
var do_not_ajax = false;
|
||||
|
||||
// Enable submit button if disabled (cache problem)
|
||||
$('input[type="submit"]').removeAttr('disabled');
|
||||
|
||||
var setup_form = function($form) {
|
||||
$form.submit(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user