Skip to content
Snippets Groups Projects
Commit f6937151 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

select forms from rollout plugin callback: remove 1st entry "..."

parent cb706f82
Branches
No related tags found
1 merge request!73OP#7651 CI Server: beide AWX ansteuerbar machen https://projects.iml.unibe.ch/work_packages/7651 - Part 2
...@@ -295,7 +295,8 @@ class rollout_base implements iRolloutplugin ...@@ -295,7 +295,8 @@ class rollout_base implements iRolloutplugin
$aCallbackData[$aEffectiveConfig[$sVarname]]['checked'] = 'checked'; $aCallbackData[$aEffectiveConfig[$sVarname]]['checked'] = 'checked';
$aCallbackData[$aEffectiveConfig[$sVarname]]['label'] .= ' ««'; $aCallbackData[$aEffectiveConfig[$sVarname]]['label'] .= ' ««';
} elseif ($aVarinfos['type'] === 'select') { } elseif ($aVarinfos['type'] === 'select') {
$aCallbackData = array_merge(['NO_SELECTED_ITEM_YET' => ['value' => '', 'label' => '...']], $aCallbackData); // not needed with bootstrap-select
// $aCallbackData = array_merge(['NO_SELECTED_ITEM_YET' => ['value' => '', 'label' => '...']], $aCallbackData);
} }
// wenn value = defaultvalue, dann value auf '' setzen (damit bei Default vom Scope // wenn value = defaultvalue, dann value auf '' setzen (damit bei Default vom Scope
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment