From 97fe2b4d19edacf2ea67c7efcfbec50feca305b0 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 26 Feb 2013 13:24:39 -0800 Subject: Change to language for when updating username/password. --- users/app/assets/javascripts/users.js.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/app/assets') 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() -- cgit v1.2.3