mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/10272] Renamed AJAX callback act_deact to activate_deactivate.
PHPBB3-10272
This commit is contained in:
committed by
Igor Wiedler
parent
f9ddeacd8e
commit
05a88966d4
@@ -46,7 +46,7 @@ phpbb.add_ajax_callback('forum_down', function() {
|
||||
* It does this by replacing the text, and replacing all instances of "activate"
|
||||
* in the href with "deactivate", and vice versa.
|
||||
*/
|
||||
phpbb.add_ajax_callback('act_deact', function(res) {
|
||||
phpbb.add_ajax_callback('activate_deactivate', function(res) {
|
||||
el = $(this);
|
||||
el.text(res.text);
|
||||
var new_href = el.attr('href');
|
||||
|
Reference in New Issue
Block a user