mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed problems qith html editor in textareas in visual console
(cherry picked from commit 06e37132a8cd8b2329a6dcc5a82522869e7f21fb)
This commit is contained in:
parent
2720465416
commit
96d7aca5bf
@ -1068,13 +1068,13 @@ function hiddenFields(item) {
|
|||||||
enterprise_hiddenFields(item);
|
enterprise_hiddenFields(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code'];
|
//~ var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code'];
|
||||||
if (item == 'label') {
|
//~ if (item == 'label') {
|
||||||
code_control.setDisabled(false);
|
//~ code_control.setDisabled(false);
|
||||||
}
|
//~ }
|
||||||
else {
|
//~ else {
|
||||||
code_control.setDisabled(true);
|
//~ code_control.setDisabled(true);
|
||||||
}
|
//~ }
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanFields(item) {
|
function cleanFields(item) {
|
||||||
|
@ -208,7 +208,7 @@ ui_require_javascript_file ('encode_decode_base64');
|
|||||||
width: "400",
|
width: "400",
|
||||||
height: "200",
|
height: "200",
|
||||||
nowrap: true,
|
nowrap: true,
|
||||||
plugins : "noneditable",
|
plugins : "bbcode",
|
||||||
inline_styles : true,
|
inline_styles : true,
|
||||||
valid_children : "+body[style]",
|
valid_children : "+body[style]",
|
||||||
element_format : "html",
|
element_format : "html",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user