diff --git a/tailbone/static/js/tailbone.js b/tailbone/static/js/tailbone.js index 5de153fc..075b90ab 100644 --- a/tailbone/static/js/tailbone.js +++ b/tailbone/static/js/tailbone.js @@ -222,7 +222,9 @@ $(function() { $('a.button.autodisable').click(function() { disable_button(this); }); - $('form.autodisable').submit(disable_submit_button); + $('form.autodisable').submit(function() { + disable_submit_button(this); + }); /* * enhance dropdowns