1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/11314] Modify files to comply with coding standards

PHPBB3-11314
This commit is contained in:
Marc Alexander
2013-03-26 13:13:33 +01:00
parent 4870387f3a
commit f0b0978538
8 changed files with 352 additions and 734 deletions

View File

@@ -189,19 +189,18 @@ phpbb.ajaxify({
refresh: true,
filter: function (data) {
var action = $('#quick-mod-select').val();
var ret = false;
if (action === 'make_normal') {
ret = $(this).find('select option[value="make_global"]').length > 0;
return $(this).find('select option[value="make_global"]').length > 0;
} else if (action === 'lock' || action === 'unlock') {
ret = true;
return true;
}
if (action === 'delete_topic' || action === 'make_sticky' || action === 'make_announce' || action === 'make_global') {
ret = true;
return true;
}
return ret;
return false;
}
});