[ticket/416] Add method for handling ajax requests
B3P-416
This commit is contained in:
1 parent
a6b1e82e56
commit
8c0d537841
2 files changed
+28
-16
No files matched your search
@@ -542,8 +542,7 @@ class portal_module
|
||||
$this->template->set_filenames(array(
|
||||
'body' => 'portal/acp_portal_modules.html')
|
||||
);
|
||||
$json_response = new \phpbb\json_response;
|
||||
$json_response->send(array(
|
||||
$this->modules_manager->handle_ajax_request(array(
|
||||
'MESSAGE_BODY' => $this->template->assign_display('body'),
|
||||
'MESSAGE_TITLE' => $this->user->lang['ADD_MODULE'],
|
||||
'MESSAGE_TEXT' => $this->user->lang['ADD_MODULE'],
|
||||
|
||||
Reference in new issue
Block a user