mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 06:29:49 +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
|
// Often the ID conflicts, so check prefix
|
||||||
if(_attrs.id && _attrs.id.indexOf(et2_entry.prefix) < 0)
|
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;
|
let value = _attrs.value;
|
||||||
|
|
||||||
|
@ -68,12 +68,11 @@ class Contact extends Entry
|
|||||||
'contact-fields' => array( // contact-fields widget
|
'contact-fields' => array( // contact-fields widget
|
||||||
'sel_options' => array('__callback__' => 'get_contact_fields'),
|
'sel_options' => array('__callback__' => 'get_contact_fields'),
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'no_lang' => true,
|
'noLang' => true,
|
||||||
'options' => 'None',
|
'emptyLabel' => 'None',
|
||||||
),
|
),
|
||||||
'contact-template' => array(
|
'contact-template' => array(
|
||||||
'type' => 'template',
|
'type' => 'template',
|
||||||
'options' => '',
|
|
||||||
'template' => array('__callback__' => 'parse_template'),
|
'template' => array('__callback__' => 'parse_template'),
|
||||||
),
|
),
|
||||||
'__default__' => array(
|
'__default__' => array(
|
||||||
@ -87,7 +86,7 @@ class Contact extends Entry
|
|||||||
'cat_id' => array('type' => 'select-cat', 'options' => ''),
|
'cat_id' => array('type' => 'select-cat', 'options' => ''),
|
||||||
'__default__' => array('type' => 'label', '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
|
'entry-fields' => array( // List of fields
|
||||||
'sel_options' => array('__callback__' => 'get_field_list'),
|
'sel_options' => array('__callback__' => 'get_field_list'),
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'no_lang' => true,
|
'noLang' => true,
|
||||||
'options' => 'None',
|
'emptyLabel' => 'None',
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user