1
0
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:
Callum Macrae
2011-11-17 17:37:51 +00:00
committed by Igor Wiedler
parent f9ddeacd8e
commit 05a88966d4
4 changed files with 4 additions and 4 deletions

View File

@@ -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');