Fix autodisable button bug for forms marked as such

This commit is contained in:
Lance Edgar 2018-03-15 15:54:16 -05:00
parent 69f04beb6d
commit bce6662eae

View file

@ -222,7 +222,9 @@ $(function() {
$('a.button.autodisable').click(function() { $('a.button.autodisable').click(function() {
disable_button(this); disable_button(this);
}); });
$('form.autodisable').submit(disable_submit_button); $('form.autodisable').submit(function() {
disable_submit_button(this);
});
/* /*
* enhance dropdowns * enhance dropdowns