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

[ticket/10281] AJAXified reordering forums in the ACP.

PHPBB3-10281
This commit is contained in:
Callum Macrae
2011-07-27 12:57:58 +01:00
committed by Igor Wiedler
parent 22c6953c11
commit bb7a03f738
4 changed files with 49 additions and 9 deletions

View File

@@ -255,6 +255,12 @@ class acp_forums
add_log('admin', 'LOG_FORUM_' . strtoupper($action), $row['forum_name'], $move_forum_name);
$cache->destroy('sql', FORUMS_TABLE);
}
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')
{
echo json_encode(array('success' => ($move_forum_name !== false)));
exit;
}
break;