mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Add empty_label to Select account custom field type, so you can select nothing.
This commit is contained in:
parent
60011b644c
commit
7023d39d98
@ -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