mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@582 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
745672225a
commit
faee1901c2
1 changed files with 4 additions and 2 deletions
|
|
@ -326,8 +326,10 @@ function editorSearchComponent(evt) {
|
|||
|
||||
// 선택되어진 object부터 상단으로 이동하면서 editor_component attribute가 있는지 검사
|
||||
var obj = e.target;
|
||||
while(obj && !obj.getAttribute("editor_component")) {
|
||||
obj = xParent(obj);
|
||||
if(!obj.getAttribute("editor_component")) {
|
||||
while(obj && !obj.getAttribute("editor_component")) {
|
||||
obj = xParent(obj);
|
||||
}
|
||||
}
|
||||
|
||||
if(!obj) obj = e.target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue