Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
Validating only buttons as buttons
Browse files Browse the repository at this point in the history
* Was validating also visibility config as button.
  • Loading branch information
tomasbjerre committed Aug 18, 2015
1 parent dc43f68 commit 4914c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/se/bjurr/prnfs/admin/ConfigResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public Response post(final AdminFormValues config, @Context HttpServletRequest r
// Assuming TRIGGER_CONFIG_FORM here if field not available, to be backwards
// compatible
getPrnfsNotification(config);
} else {
} else if (isOfType(config, AdminFormValues.FORM_TYPE.BUTTON_CONFIG_FORM)) {
getPrnfsButton(config);
}
} catch (final ValidationException e) {
Expand Down

0 comments on commit 4914c81

Please sign in to comment.