forked from I2P_Developers/i2p.i2p
Console: Hide options on /configupdate if a package (ticket #2172)
or if not advanced
This commit is contained in:
@ -238,11 +238,13 @@ public class ConfigUpdateHandler extends FormHandler {
|
||||
}
|
||||
}
|
||||
|
||||
changes.put(PROP_SHOULD_PROXY, Boolean.toString(_updateThroughProxy));
|
||||
changes.put(PROP_SHOULD_PROXY_NEWS, Boolean.toString(_newsThroughProxy));
|
||||
if (isAdvanced()) {
|
||||
changes.put(PROP_UPDATE_UNSIGNED, Boolean.toString(_updateUnsigned));
|
||||
changes.put(PROP_UPDATE_DEV_SU3, Boolean.toString(_updateDevSU3));
|
||||
changes.put(PROP_SHOULD_PROXY_NEWS, Boolean.toString(_newsThroughProxy));
|
||||
if (!_context.getBooleanProperty(PROP_UPDATE_DISABLED)) {
|
||||
changes.put(PROP_SHOULD_PROXY, Boolean.toString(_updateThroughProxy));
|
||||
changes.put(PROP_UPDATE_UNSIGNED, Boolean.toString(_updateUnsigned));
|
||||
changes.put(PROP_UPDATE_DEV_SU3, Boolean.toString(_updateDevSU3));
|
||||
}
|
||||
}
|
||||
|
||||
String oldFreqStr = _context.getProperty(PROP_REFRESH_FREQUENCY, DEFAULT_REFRESH_FREQUENCY);
|
||||
|
Reference in New Issue
Block a user