mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@576 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d15a45faa5
commit
f0a384d165
1 changed files with 7 additions and 1 deletions
|
|
@ -6,9 +6,15 @@ function getImage() {
|
|||
// 부모 위지윅 에디터에서 선택된 영역이 있는지 확인
|
||||
if(typeof(opener)=="undefined") return;
|
||||
|
||||
// url이 미리 입력되어 있을 경우 scale구해줌
|
||||
if(xGetElementById("image_url").value) {
|
||||
setTimeout(function() { getImageScale(); }, 500);
|
||||
return;
|
||||
}
|
||||
|
||||
// 부모 위지윅 에디터에서 선택된 영역이 있으면 처리
|
||||
var node = opener.editorPrevNode;
|
||||
if(!node || node.nodeName != "IMG") {
|
||||
getImageScale();
|
||||
return;
|
||||
}
|
||||
var src = node.getAttribute("src");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue