mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02: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:
committed by
Igor Wiedler
parent
e5d0f2c6ad
commit
6d8ecd7104
@@ -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);
|
||||||
|
Reference in New Issue
Block a user