diff --git a/acp/portal_module.php b/acp/portal_module.php index 1333ba6c..b79a6a36 100644 --- a/acp/portal_module.php +++ b/acp/portal_module.php @@ -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 } diff --git a/adm/style/portal/acp_portal_modules.html b/adm/style/portal/acp_portal_modules.html index 8f2cc80b..3b2d7259 100644 --- a/adm/style/portal/acp_portal_modules.html +++ b/adm/style/portal/acp_portal_modules.html @@ -111,7 +111,7 @@