prevent double note submit
This commit is contained in:
parent
74a89d9ed6
commit
2daa6161fd
3 changed files with 13 additions and 1 deletions
|
@ -6,3 +6,6 @@
|
|||
- else
|
||||
:plain
|
||||
$("#new_note").replaceWith("#{escape_javascript(render('form'))}");
|
||||
|
||||
:plain
|
||||
$("#submit_note").removeAttr("disabled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue