summaryrefslogtreecommitdiff
path: root/users/app/assets
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-02-19 14:18:25 -0800
committerjessib <jessib@leap.se>2013-02-19 14:18:25 -0800
commit2e2326d380ef1160c7d3cbfc446f96ef6eab2721 (patch)
tree775846ab66356d2e0bef4ae589578e51ae72f8ba /users/app/assets
parent1023cac35016bb1a89864d10ac89acabe86cf227 (diff)
Needs some cleanup, but this has one form where user can change username and password (they can leave either the same if they just want to change one, but we should make this clearer.)
Diffstat (limited to 'users/app/assets')
-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 86bacee..a62be6d 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_password').submit srp.update
- $('.user.form.change_password').submit preventDefault
+ $('.user.form.change_login_and_password').submit srp.update
+ $('.user.form.change_login_and_password').submit preventDefault
$('.user.typeahead').typeahead({source: pollUsers});
$('a[data-toggle="tab"]').on('shown', ->
$(ClientSideValidations.selectors.forms).validate()