mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Fix missing entry values
This commit is contained in:
parent
2e3784ea54
commit
d57bcd12ac
@ -90,7 +90,7 @@ export class et2_entry extends et2_valueWidget
|
||||
// Often the ID conflicts, so check prefix
|
||||
if(_attrs.id && _attrs.id.indexOf(et2_entry.prefix) < 0)
|
||||
{
|
||||
_attrs.id = et2_entry.prefix + _attrs.id;
|
||||
this.id = _attrs.id = et2_entry.prefix + _attrs.id;
|
||||
}
|
||||
let value = _attrs.value;
|
||||
|
||||
|
@ -68,26 +68,25 @@ class Contact extends Entry
|
||||
'contact-fields' => array( // contact-fields widget
|
||||
'sel_options' => array('__callback__' => 'get_contact_fields'),
|
||||
'type' => 'select',
|
||||
'no_lang' => true,
|
||||
'options' => 'None',
|
||||
'noLang' => true,
|
||||
'emptyLabel' => 'None',
|
||||
),
|
||||
'contact-template' => array(
|
||||
'type' => 'template',
|
||||
'options' => '',
|
||||
'template' => array('__callback__' => 'parse_template'),
|
||||
),
|
||||
'__default__' => array(
|
||||
'options' => array(
|
||||
'bday' => array('type' => 'date', 'options' => 'Y-m-d'),
|
||||
'owner' => array('type' => 'select-account', 'options' => ''),
|
||||
'modifier' => array('type' => 'select-account', 'options' => ''),
|
||||
'creator' => array('type' => 'select-account', 'options' => ''),
|
||||
'modifed' => array('type' => 'date-time', 'options' => ''),
|
||||
'created' => array('type' => 'date-time', 'options' => ''),
|
||||
'cat_id' => array('type' => 'select-cat', 'options' => ''),
|
||||
'bday' => array('type' => 'date', 'options' => 'Y-m-d'),
|
||||
'owner' => array('type' => 'select-account', 'options' => ''),
|
||||
'modifier' => array('type' => 'select-account', 'options' => ''),
|
||||
'creator' => array('type' => 'select-account', 'options' => ''),
|
||||
'modifed' => array('type' => 'date-time', 'options' => ''),
|
||||
'created' => array('type' => 'date-time', 'options' => ''),
|
||||
'cat_id' => array('type' => 'select-cat', 'options' => ''),
|
||||
'__default__' => array('type' => 'label', 'options' => ''),
|
||||
),
|
||||
'no_lang' => 1,
|
||||
'noLang' => true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -49,8 +49,8 @@ abstract class Entry extends Transformer
|
||||
'entry-fields' => array( // List of fields
|
||||
'sel_options' => array('__callback__' => 'get_field_list'),
|
||||
'type' => 'select',
|
||||
'no_lang' => true,
|
||||
'options' => 'None',
|
||||
'noLang' => true,
|
||||
'emptyLabel' => 'None',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user