mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 04:53:13 +01:00
Add empty_label to Select account custom field type, so you can select nothing.
This commit is contained in:
parent
cace3b27c9
commit
eabe1d742f
@ -472,6 +472,11 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
||||
|
||||
return true;
|
||||
},
|
||||
_setup_select_account: function(field_name, field, attrs) {
|
||||
attrs.empty_label = egw.lang('Select');
|
||||
return this._setup_select(field_name, field, attrs);
|
||||
},
|
||||
|
||||
_setup_date: function(field_name, field, attrs) {
|
||||
attrs.data_format = 'Y-m-d';
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user