Remove error dialog in case invalid parameters are sent to the module
@@ -231,7 +231,7 @@ public class ActivateAction implements AppPluginAction {
if (emptyParms || !(tokenUrl || status || showUI)) {
response = new BindingResult(BindingResultCode.MISSING_PARAMETER);
response.setResultMessage(lang.translationForKey(NO_ACTIVATION_PARAMETERS));
- showErrorMessage(lang.translationForKey(NO_ACTIVATION_PARAMETERS));
+ //showErrorMessage(lang.translationForKey(NO_ACTIVATION_PARAMETERS));
return response;
}
@@ -239,7 +239,7 @@ public class ActivateAction implements AppPluginAction {
if ((tokenUrl && showUI) || (tokenUrl && status) || (showUI && status)) {
response = new BindingResult(BindingResultCode.WRONG_PARAMETER);
response.setResultMessage(lang.translationForKey(NO_PARAMS));
- showErrorMessage(lang.translationForKey(NO_PARAMS));
+ //showErrorMessage(lang.translationForKey(NO_PARAMS));
return response;
}
