From 4ac94b2c015723f2a8683dea83f2f49f985fac40 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 1 Jul 2014 16:03:31 +0000 Subject: [PATCH] remove label from readonly radiobutton, as we show label of checked option as value --- etemplate/js/et2_widget_radiobox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/js/et2_widget_radiobox.js b/etemplate/js/et2_widget_radiobox.js index 83ae20aae1..89d0726c01 100644 --- a/etemplate/js/et2_widget_radiobox.js +++ b/etemplate/js/et2_widget_radiobox.js @@ -200,6 +200,10 @@ var et2_radiobox_ro = et2_valueWidget.extend([et2_IDetachedDOM], } }, + set_label: function(_label) { + // no label for ro radio, we show label of checked option as content + }, + /** * Code for implementing et2_IDetachedDOM *