forked from I2P_Developers/i2p.i2p
* Console:
- Convert GraphHelper to a FormHandler
- Require POST for all forms
- Change the way we store the Writer to prevent problems
- Fix bonus setting on configpeer.jsp
- More ".jsp" removal
This commit is contained in:
@@ -36,7 +36,7 @@ public class ConfigPeerHandler extends FormHandler {
|
||||
return;
|
||||
}
|
||||
addFormError(_("Invalid peer"));
|
||||
} else if (_action.equals(_("Adjust Profile Bonuses"))) {
|
||||
} else if (_action.equals(_("Adjust peer bonuses"))) {
|
||||
Hash h = getHash();
|
||||
if (h != null) {
|
||||
PeerProfile prof = _context.profileOrganizer().getProfile(h);
|
||||
@@ -59,6 +59,8 @@ public class ConfigPeerHandler extends FormHandler {
|
||||
addFormError(_("Invalid peer"));
|
||||
} else if (_action.startsWith("Check")) {
|
||||
addFormError(_("Unsupported"));
|
||||
} else {
|
||||
addFormError("Unknown action \"" + _action + '"');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user