updates
This commit is contained in:
parent
d899161791
commit
cb5b75655a
@ -179,13 +179,9 @@ class blaTinyMceOxViewConfig extends blaTinyMceOxViewConfig_parent
|
||||
|
||||
$sCopyLongDescFromTinyMCE = 'function copyLongDescFromTinyMCE(sIdent) {
|
||||
var editor = tinymce.get("editor_"+sIdent);
|
||||
if (editor) { /* && editor.isHidden() !== true */
|
||||
if(editor.isHidden()) editor.show();
|
||||
var content = editor.getContent().replace(/\[{([^\]]*?)}\]/g, function(m) { return m.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&") });
|
||||
document.getElementsByName("editval[" + sIdent + "]").item(0).value = content;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
var content = (editor && !editor.isHidden()) ? editor.getContent() : document.getElementById("editor_"+sIdent).value;
|
||||
document.getElementsByName("editval[" + sIdent + "]").item(0).value = content.replace(/\[{([^\]]*?)}\]/g, function(m) { return m.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&") });
|
||||
return true;
|
||||
}
|
||||
|
||||
var origCopyLongDesc = copyLongDesc;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in New Issue
Block a user