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:11:57 +00:00
parent cace3b27c9
commit eabe1d742f

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;