I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 70a17ecf authored by zzz's avatar zzz
Browse files

provide a refresh link since the refresh button brings up a POST dialog

parent bc49f51d
No related branches found
No related tags found
No related merge requests found
......@@ -19,12 +19,12 @@ public class ConfigUIHandler extends FormHandler {
private void saveChanges() {
if (_config == null)
return;
if (_config.equals("default"))
if (_config.equals("default")) // obsolete
_context.router().removeConfigSetting(CSSHelper.PROP_THEME_NAME);
else
_context.router().setConfigSetting(CSSHelper.PROP_THEME_NAME, _config);
if (_context.router().saveConfig())
addFormNotice("Theme change successfully saved (refresh page to view)");
addFormNotice("Theme change successfully saved (<a href=\"configui.jsp\">refresh page to view</a>)");
else
addFormNotice("Error saving the configuration (applied but not saved) - please see the error logs");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment