1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/10272] Renamed AJAX callback "style_act_deact" to "act_deact".

PHPBB3-10272
This commit is contained in:
Callum Macrae
2011-08-24 16:59:05 +01:00
committed by Igor Wiedler
parent e7e09f8da2
commit bcb824a9f2
5 changed files with 5 additions and 5 deletions

View File

@@ -377,7 +377,7 @@ phpbb.add_ajax_callback('post_delete', function(el) {
tr.next().find('.up').html('<a href="' + tr.data('up') + '"><img src="./images/icon_up.gif" alt="Move up" title="Move up" /></a>');
phpbb.ajaxify({selector: tr.next().find('.up').children('a')}, false, 'forum_up');
}
}).add_ajax_callback('style_act_deact', function(el, res) {
}).add_ajax_callback('act_deact', function(el, res) {
$(el).text(res.text);
var new_href = $(el).attr('href');
if (new_href.indexOf('deactivate') !== -1)