From a06de7758bb68aa6ef0e19f80c9037633e63a365 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 30 Mar 2015 09:50:53 +0000 Subject: [PATCH] Specify css class on customfield's row with named as field's id, in order to be able to customize its style --- etemplate/js/et2_extension_customfields.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_customfields.js b/etemplate/js/et2_extension_customfields.js index 50e9472e0b..b4530bcc9d 100644 --- a/etemplate/js/et2_extension_customfields.js +++ b/etemplate/js/et2_extension_customfields.js @@ -189,7 +189,8 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput { var row = jQuery(document.createElement("tr")) - .appendTo(this.tbody); + .appendTo(this.tbody) + .addClass(this.id+'_'+id); var cf = jQuery(document.createElement("td")) .appendTo(row); if(!field.type) field.type = 'text";'