diff --git a/module/execution/ui/ajaxgetdropmenu.html.php b/module/execution/ui/ajaxgetdropmenu.html.php index ae0c14d029..79e6c3ab7f 100644 --- a/module/execution/ui/ajaxgetdropmenu.html.php +++ b/module/execution/ui/ajaxgetdropmenu.html.php @@ -75,7 +75,7 @@ $json = array(); $json['data'] = $data; $json['tabs'] = $tabs; $json['searchHint'] = $lang->searchAB; -$json['link'] = sprintf($link, '{id}'); +$json['link'] = array('execution' => sprintf($link, '{id}')); $json['labelMap'] = array('project' => $lang->project->common); $json['expandName'] = 'closed'; $json['itemType'] = 'execution'; diff --git a/module/product/ui/ajaxgetdropmenu.html.php b/module/product/ui/ajaxgetdropmenu.html.php index 59f6b74b47..6174c71e65 100644 --- a/module/product/ui/ajaxgetdropmenu.html.php +++ b/module/product/ui/ajaxgetdropmenu.html.php @@ -78,7 +78,7 @@ $json = array(); $json['data'] = $data; $json['tabs'] = $tabs; $json['searchHint'] = $lang->searchAB; -$json['link'] = sprintf($link, '{id}'); +$json['link'] = array('product' => sprintf($link, '{id}')); $json['labelMap'] = array('program' => $lang->program->common); $json['expandName'] = 'closed'; $json['itemType'] = 'product'; diff --git a/module/program/control.php b/module/program/control.php index d2d84d7aac..4399ce14d8 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -677,7 +677,7 @@ class program extends control $this->view->module = $module; $this->view->method = $method; $this->view->programs = $this->program->getList('all'); - $this->view->link = $this->program->getLink($module, $method, $programID, '', 'program'); + $this->view->link = $this->program->getLink($module, $method, '{id}', '', 'program'); $this->display(); } diff --git a/module/program/ui/ajaxgetdropmenu.html.php b/module/program/ui/ajaxgetdropmenu.html.php index 904167e68b..15d0d2a4a6 100644 --- a/module/program/ui/ajaxgetdropmenu.html.php +++ b/module/program/ui/ajaxgetdropmenu.html.php @@ -44,7 +44,7 @@ $data[0]['items'] = buildTree($programs); $json = array(); $json['data'] = $data; $json['searchHint'] = $lang->searchAB; -$json['link'] = sprintf($link, '{id}'); +$json['link'] = $link; $json['labelMap'] = array('program' => $lang->program->common); $json['expandName'] = 'closed'; $json['itemType'] = 'program'; diff --git a/module/project/ui/ajaxgetdropmenu.html.php b/module/project/ui/ajaxgetdropmenu.html.php index fde5f55add..d190cad546 100644 --- a/module/project/ui/ajaxgetdropmenu.html.php +++ b/module/project/ui/ajaxgetdropmenu.html.php @@ -79,7 +79,7 @@ $json = array(); $json['data'] = $data; $json['tabs'] = $tabs; $json['searchHint'] = $lang->searchAB; -$json['link'] = sprintf($link, '{id}'); +$json['link'] = array('project' => sprintf($link, '{id}')); $json['labelMap'] = array('program' => $lang->program->common); $json['expandName'] = 'closed'; $json['itemType'] = 'project';