linting acp

v1.18.x
psychobunny 10 years ago
parent f6d90782a8
commit c3541dbc95

@ -1,5 +1,5 @@
"use strict";
/* global define, socket */
/* global define, socket, app */
define('admin/advanced/logs', function() {
var Logs = {};
@ -28,7 +28,7 @@ define('admin/advanced/logs', function() {
case 'clear':
socket.emit('admin.logs.clear', function(err) {
if (!err) {
app.alertSuccess('Logs Cleared!')
app.alertSuccess('Logs Cleared!');
btnEl.prev().click();
}
});

@ -1,5 +1,5 @@
"use strict";
/* global define, app, socket */
/* global ace, define, app, socket */
define('admin/appearance/customise', ['admin/settings'], function(Settings) {
var Customise = {};

@ -1,5 +1,5 @@
"use strict";
/* global define, app, socket */
/* global define, app, socket, templates */
define('admin/appearance/skins', function() {
var Skins = {};

@ -1,5 +1,5 @@
"use strict";
/* global define, socket */
/* global app, define, socket */
define('admin/general/sounds', ['sounds', 'settings'], function(Sounds, Settings) {
var SoundsAdmin = {};

@ -1,5 +1,5 @@
"use strict";
/* global socket, define, templates, bootbox, app, ajaxify, */
/* global config, socket, define, templates, bootbox, app, ajaxify, */
define('admin/manage/users', ['admin/modules/selectable'], function(selectable) {
var Users = {};
@ -145,7 +145,7 @@ define('admin/manage/users', ['admin/modules/selectable'], function(selectable)
}
app.alertSuccess('[[notifications:email-confirm-sent]]');
});
})
});
$('.password-reset-email').on('click', function() {
var uids = getSelectedUids();

@ -23,7 +23,7 @@ define(function() {
setupACPSearch();
});
};;
};
function setupACPSearch() {
var menu = $('#acp-search .dropdown-menu'),

Loading…
Cancel
Save