fix infolog widget like tracker e4be366e83

This commit is contained in:
ralf 2023-07-13 12:06:23 +02:00
parent 06e7518cd8
commit 6ce0abdb37
1 changed files with 2 additions and 3 deletions

View File

@ -54,9 +54,8 @@ class infolog_widget extends Etemplate\Widget\Entry
),
'__default__' => array(
'options' => array(
'' => array('id' => '@value[@id]'),
// Others added automatically in constructor
'__default__' => array('type' => 'label', 'options' => ''),
'__default__' => array('type' => 'label'),
),
'no_lang' => true,
),
@ -169,4 +168,4 @@ class infolog_widget extends Etemplate\Widget\Entry
}
// register widgets for etemplate2
Etemplate\Widget::registerWidget('infolog_widget',array('infolog-value', 'infolog-fields'));
Etemplate\Widget::registerWidget('infolog_widget',array('infolog-value', 'infolog-fields'));