1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/10328] Renamed the JSON class, also now using autoloading.

It is no longer static, and uses autoloading. It has also been renamed
from JSON to phpbb_json_response.

PHPBB3-10328
This commit is contained in:
Callum Macrae
2011-08-24 12:25:54 +01:00
committed by Igor Wiedler
parent c92b30d66c
commit 7a933bdb5a
6 changed files with 28 additions and 31 deletions

View File

@@ -365,7 +365,7 @@ phpbb.add_ajax_callback('post_delete', function(el) {
}
}).add_ajax_callback('zebra', function(el, res) {
if (res.success) {
$('.zebra').html(res.message);
$('.zebra').html(res.MESSAGE_TEXT);
$($('.zebra').get(1)).remove();
}
});;