mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#18642034 : legacy page edit support (before 1.2.5)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7256 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ec5f64866
commit
1e39caff73
1 changed files with 10 additions and 3 deletions
|
|
@ -235,9 +235,16 @@ function doSyncPageContent() {
|
|||
var obj = sel_obj.firstChild;
|
||||
while(obj && obj.className != "widgetContent") obj = obj.nextSibling;
|
||||
if(obj && obj.className == "widgetContent") {
|
||||
if(!fo_obj.content.value) {
|
||||
var content = Base64.decode(xInnerHtml(obj));
|
||||
xGetElementById("content_fo").content.value = content;
|
||||
if(!fo_obj.document_srl || fo_obj.document_srl.value == 0) {
|
||||
try {
|
||||
var content = Base64.decode(xInnerHtml(obj));
|
||||
content = editorReplacePath(content);
|
||||
xGetElementById("content_fo").content.value = content;
|
||||
xe.Editors["1"].exec("SET_IR", [content]);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue