summaryrefslogtreecommitdiffstats
path: root/settings/js/users.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-07-31 21:21:02 +0200
committerkondou <kondou@ts.unde.re>2013-07-31 21:21:02 +0200
commitaaf0fec9f54bc6f9eef5df00441d593e053ee74b (patch)
treeca65f4c20b8d1e698d815a3b5970926023093478 /settings/js/users.js
parent50101a85a63f29c47abe325aecb3af26bc8a96d1 (diff)
downloadnextcloud-server-aaf0fec9f54bc6f9eef5df00441d593e053ee74b.tar.gz
nextcloud-server-aaf0fec9f54bc6f9eef5df00441d593e053ee74b.zip
Fix some JSLint warnings
Diffstat (limited to 'settings/js/users.js')
-rw-r--r--settings/js/users.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 6a8afc4ca36..798acce8471 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -166,7 +166,7 @@ var UserList = {
var c = Number(aa[x]), d = Number(bb[x]);
if (c === aa[x] && d === bb[x]) {
return c - d;
- } else return (aa[x] > bb[x]) ? 1 : -1;
+ } else { return (aa[x] > bb[x]) ? 1 : -1; }
}
}
return aa.length - bb.length;
@@ -262,7 +262,7 @@ var UserList = {
if ($(element).find('option[value="' + group + '"]').length === 0 && select.data('msid') !== $(element).data('msid')) {
$(element).append('<option value="' + escapeHTML(group) + '">' + escapeHTML(group) + '</option>');
}
- })
+ });
};
var label;
if (isadmin) {
@@ -304,7 +304,7 @@ var UserList = {
if ($(element).find('option[value="' + group + '"]').length === 0) {
$(element).append('<option value="' + escapeHTML(group) + '">' + escapeHTML(group) + '</option>');
}
- })
+ });
};
element.multiSelect({
createCallback: addSubAdmin,
@@ -469,7 +469,7 @@ $(document).ready(function () {
}
OC.Notification.hide();
});
- UserList.useUndo = ('onbeforeunload' in window)
+ UserList.useUndo = ('onbeforeunload' in window);
$(window).bind('beforeunload', function () {
UserList.finishDelete(null);
});