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

@ -5248,7 +5248,7 @@ xe.XE_Extension = $.Class({
$(doc).find('img,div[editor_component]').each(function(){
var obj = $(this);
if(this.nodeName == 'IMG' && !obj.attr('editor_component')) {
if(this.nodeName == 'IMG' && !obj.attr('editor_component') && !obj.attr('widget') ) {
obj.attr('editor_component','image_link');
}
if(this.last_doc != doc) {