mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 00:46:03 +01:00
closes Github issue #11
This commit is contained in:
parent
c4bdc8fd3e
commit
8743a21371
1 changed files with 5 additions and 0 deletions
5
app/assets/javascripts/settings.coffee
Normal file
5
app/assets/javascripts/settings.coffee
Normal 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'
|
Loading…
Reference in a new issue