diff options
| author | czaks <marcin@6irc.net> | 2013-12-22 22:51:28 +0100 |
|---|---|---|
| committer | Michael Foster <savetheinterpod@gmail.com> | 2014-01-19 14:40:08 -0500 |
| commit | f6415f7d69baeda50813f0087c942c007401ed84 (patch) | |
| tree | db470ff0c6f89fa4a273d1bb3c0f5a5d3ffa6fa2 /js | |
| parent | 9fb63b053fbb552a2a8bbde1e230a8b73296fb6d (diff) | |
ajax.js: fix a cache problem: clicking back sometimes makes submit button disabled
Diffstat (limited to 'js')
| -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() { |
