Fixed problems with html-labels and html editor in visual console. Tiquets: #3918 and #3985

This commit is contained in:
m-lopez-f 2016-08-16 14:04:01 +02:00
parent 25fedd8e84
commit ec08ccd7c1
1 changed files with 7 additions and 7 deletions

View File

@ -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) {