Re-render page when en/disabling modules and trigger client-side CSS reload

This commit is contained in:
Thomas Gelf 2014-03-26 07:58:57 +00:00
parent eeaec20873
commit 90665a2711
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ class ConfigController extends BaseConfigController
$manager->enableModule($module);
$manager->loadModule($module);
$this->addSuccessMessage('Module "' . $module . '" enabled');
$this->redirectNow('config/moduleoverview');
$this->redirectNow('config/moduleoverview?_render=layout&_reload=css');
return;
} catch (Exception $e) {
$this->view->exceptionMesssage = $e->getMessage();
@ -194,7 +194,7 @@ class ConfigController extends BaseConfigController
try {
$manager->disableModule($module);
$this->addSuccessMessage('Module "' . $module . '" disabled');
$this->redirectNow('config/moduleoverview');
$this->redirectNow('config/moduleoverview?_render=layout&_reload=css');
return;
} catch (Exception $e) {
$this->view->exceptionMessage = $e->getMessage();