summaryrefslogtreecommitdiff
path: root/users/app/assets/javascripts
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-02-26 13:24:39 -0800
committerjessib <jessib@leap.se>2013-02-26 13:24:39 -0800
commit97fe2b4d19edacf2ea67c7efcfbec50feca305b0 (patch)
tree73d7bdbf8d0707a0415b95721e27a9ea216c9d8b /users/app/assets/javascripts
parent0f950dcd0dfb65d484346606943d08b9529d61bd (diff)
Change to language for when updating username/password.
Diffstat (limited to 'users/app/assets/javascripts')
-rw-r--r--users/app/assets/javascripts/users.js.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/assets/javascripts/users.js.coffee b/users/app/assets/javascripts/users.js.coffee
index a62be6d..955556c 100644
--- a/users/app/assets/javascripts/users.js.coffee
+++ b/users/app/assets/javascripts/users.js.coffee
@@ -37,8 +37,8 @@ $(document).ready ->
$('#new_user').submit srp.signup
$('#new_session').submit preventDefault
$('#new_session').submit srp.login
- $('.user.form.change_login_and_password').submit srp.update
- $('.user.form.change_login_and_password').submit preventDefault
+ $('.user.form.update_login_and_password').submit srp.update
+ $('.user.form.update_login_and_password').submit preventDefault
$('.user.typeahead').typeahead({source: pollUsers});
$('a[data-toggle="tab"]').on('shown', ->
$(ClientSideValidations.selectors.forms).validate()