Commit 5be404d5 authored by Shakarim Sapa's avatar Shakarim Sapa

- FIX

parent 632c3f8a
...@@ -110,6 +110,7 @@ class Conditions { ...@@ -110,6 +110,7 @@ class Conditions {
*/ */
public static function getControlButtons($condition_array=array(), $key=null){ public static function getControlButtons($condition_array=array(), $key=null){
$key = ($key!==null) ? $key : rand(100000,999999); $key = ($key!==null) ? $key : rand(100000,999999);
return 'asd';
return '<tr data-key='.$key.'><td>'.Conditions::init()->getControlArea($condition_array, $key).'</td></tr>'; return '<tr data-key='.$key.'><td>'.Conditions::init()->getControlArea($condition_array, $key).'</td></tr>';
} }
......
...@@ -12,7 +12,7 @@ return [ ...@@ -12,7 +12,7 @@ return [
'id' => 'trigger-form' 'id' => 'trigger-form'
], ],
'elements' => [ 'elements' => [
// 'table' => $model->getConditionTable(), 'table' => $model->getConditionTable(),
'active' => [ 'active' => [
'type' => 'checkbox' 'type' => 'checkbox'
], ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment