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