Fix autodisable button bug for forms marked as such
This commit is contained in:
parent
69f04beb6d
commit
bce6662eae
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue