Skip to content

Commit

Permalink
fix(condition): inability to add a rows to conditions
Browse files Browse the repository at this point in the history
fix: #1597

Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jan 6, 2020
1 parent 38f3094 commit 40129a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/condition.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function ($item) {
]);
$html.= '</div>';
$html.= '<div class="div_show_condition_add">';
$html.= '<i class="fas fa-plus-circle" style="cursor: pointer;" onclick="plugin_formcreator_addEmptyCondition(this)"></i>&nbsp;</div>';
$html.= '<i class="fas fa-plus-circle" style="cursor: pointer;" onclick="plugin_formcreator_addEmptyCondition(this, \'' . $itemtype . '\')"></i>&nbsp;</div>';
$html.= '<div class="div_show_condition_remove">';
$html.= '<i class="fas fa-minus-circle" style="cursor: pointer;" onclick="plugin_formcreator_removeNextCondition(this)"></i>&nbsp;</div>';
$html.= '</div>';
Expand Down

0 comments on commit 40129a6

Please sign in to comment.