mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
(cherry picked from commit ec08ccd7c1b42ba3436db4215ed446453819ace7)
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…
x
Reference in New Issue
Block a user