merge of '5f552b9cd9f53addefd86c744aa05bd620028649'
and '7bf5ea7cfe5da14f19ed0be2af63fcad3e2e54c1'
This commit is contained in:
@ -20,9 +20,9 @@ public class ConfigUIHandler extends FormHandler {
|
|||||||
if (_config == null)
|
if (_config == null)
|
||||||
return;
|
return;
|
||||||
if (_config.equals("default"))
|
if (_config.equals("default"))
|
||||||
_context.router().removeConfigSetting(ConfigUIHelper.PROP_THEME);
|
_context.router().removeConfigSetting(CSSHelper.PROP_THEME_NAME);
|
||||||
else
|
else
|
||||||
_context.router().setConfigSetting(ConfigUIHelper.PROP_THEME, _config);
|
_context.router().setConfigSetting(CSSHelper.PROP_THEME_NAME, _config);
|
||||||
if (_context.router().saveConfig())
|
if (_context.router().saveConfig())
|
||||||
addFormNotice("Configuration saved successfully");
|
addFormNotice("Configuration saved successfully");
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user