reseed form button tweak
This commit is contained in:
@ -14,7 +14,7 @@ public class ConfigReseedHandler extends FormHandler {
|
||||
@Override
|
||||
protected void processForm() {
|
||||
|
||||
if (_action.equals(_("Save Configuration and Reseed Now"))) {
|
||||
if (_action.equals(_("Save changes and reseed now"))) {
|
||||
saveChanges();
|
||||
boolean reseedInProgress = Boolean.valueOf(System.getProperty("net.i2p.router.web.ReseedHandler.reseedInProgress")).booleanValue();
|
||||
if (reseedInProgress) {
|
||||
@ -26,7 +26,7 @@ public class ConfigReseedHandler extends FormHandler {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (_action.equals(_("Save Configuration"))) {
|
||||
if (_action.equals(_("Save changes"))) {
|
||||
saveChanges();
|
||||
return;
|
||||
}
|
||||
|
@ -54,6 +54,6 @@
|
||||
</table></div>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="foo" value="<%=intl._("Cancel")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Save Configuration and Reseed Now")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Save Configuration")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Save changes and reseed now")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Save changes")%>" />
|
||||
</div></form></div></div></body></html>
|
||||
|
Reference in New Issue
Block a user