mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
[ticket/10271] Added a comment to the AJAXification of quick-mod tools.
The comment clarifies which make_ functions use AJAX. PHPBB3-10271
This commit is contained in:
parent
e5d0f2c6ad
commit
6d8ecd7104
1 changed files with 2 additions and 0 deletions
|
@ -69,8 +69,10 @@ phpbb.ajaxify({
|
||||||
}
|
}
|
||||||
else if (action.slice(-4) === 'lock')
|
else if (action.slice(-4) === 'lock')
|
||||||
{
|
{
|
||||||
|
// Return false for both lock and unlock
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// make_sticky, make_announce and make_global all use AJAX.
|
||||||
return !(action === 'delete_topic' || action.slice(0, 5) === 'make_');
|
return !(action === 'delete_topic' || action.slice(0, 5) === 'make_');
|
||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue