From ec08ccd7c1b42ba3436db4215ed446453819ace7 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 16 Aug 2016 14:04:01 +0200 Subject: [PATCH] Fixed problems with html-labels and html editor in visual console. Tiquets: #3918 and #3985 --- .../reporting/visual_console_builder.editor.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 26d8ab48ea..2af8b61959 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1067,13 +1067,13 @@ function hiddenFields(item) { enterprise_hiddenFields(item); } - var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code']; - if (item == 'label') { - code_control.setDisabled(false); - } - else { - code_control.setDisabled(true); - } + //~ var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code']; + //~ if (item == 'label') { + //~ code_control.setDisabled(false); + //~ } + //~ else { + //~ code_control.setDisabled(true); + //~ } } function cleanFields(item) {