summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-07-11 12:13:55 -0700
committerjessib <jessib@leap.se>2013-07-11 12:13:55 -0700
commit4991ac797b37a539d4d26837351c1f2c3505b58d (patch)
treee00f28b0625d4205386f14964a8447a346ac0478 /users/app
parent047d6c002abfb498f20c09cf318fc4a10901837f (diff)
Slight cleanup due to some emacs annoyances.
Diffstat (limited to 'users/app')
-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) {