Issue 1586 fixed a bug of adding editor_component attribute automatically after editing on editor

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10286 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2012-03-02 07:03:33 +00:00
parent fe180bc1c9
commit 37805e4dbb
3 changed files with 3 additions and 3 deletions

View file

@ -253,7 +253,7 @@ function editorSearchComponent(evt) {
// editor_component를 찾지 못했을 경우에 이미지/텍스트/링크의 경우 기본 컴포넌트와 연결
if(!editor_component) {
// 이미지일 경우
if(obj.nodeName == "IMG") {
if(obj.nodeName == "IMG" && !obj.getAttribute("widget")) {
editor_component = "image_link";
editorPrevNode = obj;
}