#8533 change of default value
This commit is contained in:
parent
c5d0237c23
commit
5e37c264c1
|
@ -1847,6 +1847,10 @@ $class = 'databox filters';
|
||||||
1 => __('Show module data'),
|
1 => __('Show module data'),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if ($action === 'new' && empty($show_type) === true) {
|
||||||
|
$show_type = 1;
|
||||||
|
}
|
||||||
|
|
||||||
html_print_select(
|
html_print_select(
|
||||||
$show_select,
|
$show_select,
|
||||||
'show_type',
|
'show_type',
|
||||||
|
|
|
@ -256,6 +256,10 @@ class AgentModuleWidget extends Widget
|
||||||
1 => __('Show module data'),
|
1 => __('Show module data'),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (empty($this->values['mModules']) === true && empty($this->values['mTypeShow'])) {
|
||||||
|
$this->values['mTypeShow'] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
$inputs[] = [
|
$inputs[] = [
|
||||||
'class' => 'flex flex-row',
|
'class' => 'flex flex-row',
|
||||||
'label' => __('Information to be shown'),
|
'label' => __('Information to be shown'),
|
||||||
|
|
Loading…
Reference in New Issue