* configupdate.jsp:

- Fix setting to 'never' (ticket #523)
    - Fix always saying trusted keys changed
    - Parameterize tags
This commit is contained in:
zzz
2011-10-15 17:09:04 +00:00
parent 485a3ee11a
commit a97834d2b7
2 changed files with 16 additions and 13 deletions

View File

@ -75,7 +75,7 @@ public class ConfigUpdateHelper extends HelperBase {
public String getRefreshFrequencySelectBox() {
String freq = _context.getProperty(ConfigUpdateHandler.PROP_REFRESH_FREQUENCY,
ConfigUpdateHandler.DEFAULT_REFRESH_FREQUENCY);
long ms = -1;
long ms = ConfigUpdateHandler.DEFAULT_REFRESH_FREQ;
try {
ms = Long.parseLong(freq);
} catch (NumberFormatException nfe) {}