Console: Fix bug with IE buttons not working, because it sends the label instead of the value

This commit is contained in:
zzz
2009-04-03 21:33:35 +00:00
parent 0c7cb9d781
commit bb0531053d
5 changed files with 27 additions and 9 deletions

View File

@ -142,7 +142,7 @@ public class IndexBean {
}
private String processAction() {
if ( (_action == null) || (_action.trim().length() <= 0) )
if ( (_action == null) || (_action.trim().length() <= 0) || ("Cancel".equals(_action)))
return "";
if ( (_prevNonce != _curNonce) && (!validPassphrase(_passphrase)) )
return "Invalid nonce, are you being spoofed?";