summaryrefslogtreecommitdiff
path: root/users/app/assets/javascripts/users.js.coffee
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-13 17:16:05 +0100
committerAzul <azul@leap.se>2012-12-13 17:16:05 +0100
commit32db6e2ee3ae449f2fe0f947f9ac4aafde340a9d (patch)
tree1f9abefddc5f3cfb49a96f87e184a78feb8fb506 /users/app/assets/javascripts/users.js.coffee
parent1a26988cb7ff30061473f4a781166b184b3037ce (diff)
parentfeee17e3a9970ac04f5a789255fbf4c3e8e89eb8 (diff)
Merge branch 'feature/email-aliases-model'
Diffstat (limited to 'users/app/assets/javascripts/users.js.coffee')
-rw-r--r--users/app/assets/javascripts/users.js.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/app/assets/javascripts/users.js.coffee b/users/app/assets/javascripts/users.js.coffee
index 0595292..0c1fb55 100644
--- a/users/app/assets/javascripts/users.js.coffee
+++ b/users/app/assets/javascripts/users.js.coffee
@@ -32,3 +32,7 @@ $(document).ready ->
$('.user.form.change_password').submit srp.update
$('.user.form.change_password').submit preventDefault
$('.user.typeahead').typeahead({source: pollUsers});
+ $('a[data-toggle="tab"]').on('shown', ->
+ $(ClientSideValidations.selectors.forms).validate()
+ )
+