git-svn-id: http://xe-core.googlecode.com/svn/trunk@582 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-21 05:15:33 +00:00
parent 745672225a
commit faee1901c2

View file

@ -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;