Skip to content

Commit

Permalink
Merge pull request #51 from schonert/patch-1
Browse files Browse the repository at this point in the history
missing condition "core.fieldvalueisnot" fix
  • Loading branch information
kjac authored Aug 4, 2016
2 parents 9bc6e43 + 12beb7d commit 3cde017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Umbraco/JS/FormEditor/FormEditorAsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ addFormEditorCondition("core.fieldvalueisnot", function (rule, fieldValue, formD
return (fieldValue || "").toLowerCase() != (rule.condition.expectedFieldValue || "").toLowerCase();
});
// - "field value is" condition (negation of "field value is not" condition):
addFormEditorCondition("", function (rule, fieldValue, formData) {
addFormEditorCondition("core.fieldvalueis", function (rule, fieldValue, formData) {
return !(getFormEditorCondition("core.fieldvalueisnot")(rule, fieldValue, formData));
});
// - "field value does not other field value" condition:
Expand Down

0 comments on commit 3cde017

Please sign in to comment.