(cherry picked from commit ec08ccd7c1
)
This commit is contained in:
parent
b61ccf5f3b
commit
127eebc0ed
|
@ -1068,13 +1068,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) {
|
||||
|
|
Loading…
Reference in New Issue