Merge branch 'ent-12387-bug-edicion-item-agent-module-view' into 'develop'
Ent 12387 bug edicion item agent module view See merge request artica/pandorafms!6622
This commit is contained in:
commit
8425e70740
|
@ -1745,6 +1745,22 @@ function html_print_select_multiple_modules_filtered(array $data):string
|
|||
}
|
||||
}
|
||||
|
||||
if (is_metaconsole() === true) {
|
||||
$output .= html_print_input(
|
||||
[
|
||||
'label' => __('Agents'),
|
||||
'label_class' => 'font-title-font',
|
||||
'type' => 'select',
|
||||
'fields' => $agents,
|
||||
'name' => 'filtered-module-agents-'.$uniqId,
|
||||
'selected' => explode(',', $data['mAgents']),
|
||||
'return' => true,
|
||||
'multiple' => true,
|
||||
'style' => 'min-width: 200px;max-width:200px;',
|
||||
'script' => 'fmModuleChange(\''.$uniqId.'\', '.(int) is_metaconsole().')',
|
||||
]
|
||||
);
|
||||
} else {
|
||||
$output .= html_print_input(
|
||||
[
|
||||
'label' => __('Agents'),
|
||||
|
@ -1759,6 +1775,7 @@ function html_print_select_multiple_modules_filtered(array $data):string
|
|||
'script' => 'fmModuleChange(\''.$uniqId.'\', '.(int) is_metaconsole().')',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
$commonModules = 0;
|
||||
if (empty($data['mShowCommonModules']) === false) {
|
||||
|
|
Loading…
Reference in New Issue