mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 09:19:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@544 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d8a6852a72
commit
a051d1337b
1 changed files with 5 additions and 4 deletions
|
|
@ -4,7 +4,11 @@
|
|||
**/
|
||||
function getText() {
|
||||
var node = opener.editorPrevNode;
|
||||
if(!node) return;
|
||||
if(!node) {
|
||||
var fo_obj = xGetElementById("fo_component");
|
||||
fo_obj.text.value = opener.editorGetSelectedHtml(opener.editorPrevSrl);
|
||||
return;
|
||||
}
|
||||
|
||||
if(node.nodeName == "A") {
|
||||
var url = node.getAttribute("HREF");
|
||||
|
|
@ -55,9 +59,6 @@ function getText() {
|
|||
if(color) xGetElementById(color).checked = true;
|
||||
|
||||
return;
|
||||
} else {
|
||||
var fo_obj = xGetElementById("fo_component");
|
||||
fo_obj.text.value = opener.editorGetSelectedHtml(opener.editorPrevSrl);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue