diff options
author | Azul <azul@leap.se> | 2012-12-07 12:30:15 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-07 12:30:15 +0100 |
commit | a2d343619e752f62cb7e3445803e4491696af391 (patch) | |
tree | d479b9a11d69d2d4098b4e67058eb11f8ff34b32 /users/app/assets/javascripts/users.js.coffee | |
parent | af101adb7c66201e175642ff0ef99988b42d2df2 (diff) |
using normal requests for user updates except password
password requires ajax for secure remote password to work
Diffstat (limited to 'users/app/assets/javascripts/users.js.coffee')
-rw-r--r-- | users/app/assets/javascripts/users.js.coffee | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/users/app/assets/javascripts/users.js.coffee b/users/app/assets/javascripts/users.js.coffee index 76a6d79..9a2af7a 100644 --- a/users/app/assets/javascripts/users.js.coffee +++ b/users/app/assets/javascripts/users.js.coffee @@ -29,7 +29,6 @@ $(document).ready -> $('#new_user').submit srp.signup $('#new_session').submit preventDefault $('#new_session').submit srp.login - $('.user.form.edit').submit srp.update - $('.user.form.edit').submit preventDefault + $('.user.form.change_password').submit srp.update + $('.user.form.change_password').submit preventDefault $('.user.typeahead').typeahead({source: pollUsers}); - |