mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/10281] AJAXified reordering forums in the ACP.
PHPBB3-10281
This commit is contained in:
committed by
Igor Wiedler
parent
22c6953c11
commit
bb7a03f738
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user