Commit 529aa700 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлена передача параметра из контроллера;

parent 55444c06
......@@ -40,10 +40,12 @@ class TriggerAdminController extends AdminController {
public function actionGetconditionhtml($id){
$condition = Conditions::init()->getConditionById($id);
$params=Conditions::init()->getParamsById($id);
$result = $this->renderPartial(
'condition-html',
[
'object' => $condition
'object' => $condition,
'params' => $params
]
);
return Json::encode($result);
......
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