From fd191888bb997bd6a01547eca49ef52ecd630bc4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 24 Nov 2014 19:58:59 +0000 Subject: [PATCH] Fix missing empty label when no value in readonly selectbox --- etemplate/js/et2_widget_selectbox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 1869cbb7a8..999fab4302 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -965,6 +965,10 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM], } } } + else if (this.options.empty_label) + { + this.span.text(this.options.empty_label); + } }, /**