[ticket/102] Add possibility to move module up via ajax
B3P-102
This commit is contained in:
@@ -841,6 +841,12 @@ class portal_module
|
||||
}
|
||||
|
||||
$this->cache->destroy('portal_modules');
|
||||
|
||||
if ($this->request->is_ajax())
|
||||
{
|
||||
$json_response = new \phpbb\json_response;
|
||||
$json_response->send(array('success' => true));
|
||||
}
|
||||
redirect($this->u_action); // redirect in order to get rid of excessive URL parameters
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user