diff options
| author | czaks <marcin@6irc.net> | 2013-12-22 22:51:28 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-22 22:51:28 +0100 |
| commit | 803704db6d17c0899a8a85ae89a9ece4a2a71c80 (patch) | |
| tree | 0b40abfaca7d1c6ca6202fca275f237daafb772b | |
| parent | 37fe2092906a537710730ba27b121c07246561d6 (diff) | |
ajax.js: fix a cache problem: clicking back sometimes makes submit button disabled
| -rw-r--r-- | js/ajax.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() { |
