closes Github issue #11

This commit is contained in:
nilsding 2014-12-12 19:05:35 +01:00
parent c4bdc8fd3e
commit 8743a21371

View file

@ -0,0 +1,5 @@
# see GitHub issue #11
($ document).on "submit", "form#edit_user", (evt) ->
if ($ "input#user_current_password").val().length == 0
evt.preventDefault()
$("button[data-target=#modal-passwd]").trigger 'click'