Permalink
Browse files

Fixed booboo in JS events for checkboxes, had !! instead of ||

  • Loading branch information...
1 parent e8d3c67 commit 078e48fb803db2ca92f483602a0f2e4b4ff0d5b6 @cheesegrits cheesegrits committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/com_fabrik/models/element.php
@@ -2989,7 +2989,7 @@ public function getFormattedJSActions($jsControllerKey, $repeatCount)
elseif ($jsAct->js_e_condition == '!CONTAINS')
{
$js = "if (this.get('value') === null ";
- $js .= " !! (!Array.from(this.get('value')).contains('$jsAct->js_e_value')";
+ $js .= " || (!Array.from(this.get('value')).contains('$jsAct->js_e_value')";
$js .= " || !this.get('value').contains('$jsAct->js_e_value'))";
$js .= ") {";
}

0 comments on commit 078e48f

Please sign in to comment.