summaryrefslogtreecommitdiff
path: root/users/app/assets/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/assets/javascripts')
-rw-r--r--users/app/assets/javascripts/users.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/app/assets/javascripts/users.js b/users/app/assets/javascripts/users.js
index 2eb644b..65bed4f 100644
--- a/users/app/assets/javascripts/users.js
+++ b/users/app/assets/javascripts/users.js
@@ -47,10 +47,10 @@
var element, error, field;
if ($.isPlainObject(message) && message.errors) {
for (field in message.errors) {
- if (field == 'base') {
- alert_message(message.errors[field]);
- next;
- }
+ if (field == 'base') {
+ alert_message(message.errors[field]);
+ next;
+ }
error = message.errors[field];
element = $('form input[name$="[' + field + ']"]');
if (!element) {