Add empty_label to Select account custom field type, so you can select nothing.

This commit is contained in:
Nathan Gray 2015-10-01 15:10:38 +00:00
parent 60011b644c
commit 7023d39d98

View File

@ -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;