From eabe1d742f82749571ca05a106695069aaaacb7e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 1 Oct 2015 15:11:57 +0000 Subject: [PATCH] Add empty_label to Select account custom field type, so you can select nothing. --- etemplate/js/et2_extension_customfields.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etemplate/js/et2_extension_customfields.js b/etemplate/js/et2_extension_customfields.js index fa54dada41..99285f564e 100644 --- a/etemplate/js/et2_extension_customfields.js +++ b/etemplate/js/et2_extension_customfields.js @@ -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;