summaryrefslogtreecommitdiff
path: root/users/app/assets/javascripts/users.js
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-07-16 12:49:48 -0700
committerjessib <jessib@riseup.net>2013-07-16 12:49:48 -0700
commit97bd0ba4b35481216b2a1592065c70562c81c2d5 (patch)
tree036760e5427bbb32360cf9eb3ccbe80159d62695 /users/app/assets/javascripts/users.js
parentbf5922d26e27ee9695b07eade42d36a34b63fc4e (diff)
parent8486248a7a960bc75f25f2c5a00791416f124ac4 (diff)
Merge pull request #60 from azul/bugfix/srp-fix-for-zeroprefixed-hashes
Bugfix/srp fix for zeroprefixed hashes
Diffstat (limited to 'users/app/assets/javascripts/users.js')
-rw-r--r--users/app/assets/javascripts/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/assets/javascripts/users.js b/users/app/assets/javascripts/users.js
index 65bed4f..4c9b510 100644
--- a/users/app/assets/javascripts/users.js
+++ b/users/app/assets/javascripts/users.js
@@ -49,12 +49,12 @@
for (field in message.errors) {
if (field == 'base') {
alert_message(message.errors[field]);
- next;
+ continue;
}
error = message.errors[field];
element = $('form input[name$="[' + field + ']"]');
if (!element) {
- next;
+ continue;
}
element.trigger('element:validate:fail.ClientSideValidations', error).data('valid', false);
}