From 80b12351d976891b8228e95d30a9ef4420b137d0 Mon Sep 17 00:00:00 2001 From: misol Date: Sat, 10 Oct 2009 14:12:15 +0000 Subject: [PATCH] =?UTF-8?q?#18310162=20=EA=B4=80=EB=A0=A8=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=B4=EC=96=B4=ED=8F=AD=EC=8A=A4=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=82=AC=EC=9D=B4=EC=A6=88=20?= =?UTF-8?q?=ED=95=9C=EB=B2=88=20=EC=88=98=EC=A0=95=ED=95=98=EA=B3=A0=20?= =?UTF-8?q?=EB=82=98=EB=A9=B4=20(=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=20=EC=83=88=20=EC=B0=BD=EC=9D=84=20=ED=86=B5=ED=95=B4=EC=84=9C?= =?UTF-8?q?=20)=20=EB=8B=A4=EB=A5=B8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=8D=94=EB=B8=94=ED=81=B4=EB=A6=AD=EC=9D=B4=20=EC=95=88?= =?UTF-8?q?=EB=90=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95.,?= =?UTF-8?q?=20=EC=95=88=EC=93=B0=EB=8A=94=20=EB=B6=80=EB=B6=84=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6839 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../editor/skins/xpresseditor/js/Xpress_Editor.js | 13 +++++++------ .../editor/skins/xpresseditor/js/xe_interface.js | 1 - 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js index 491f78e3c..0bdfe6266 100644 --- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js +++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js @@ -4886,7 +4886,7 @@ xe.XE_FindReplacePlugin = jQuery.Class({ }, $ON_SHOW_ACTIVE_LAYER : function(){ - this.oApp.exec( "HIDE_DIALOG_LAYER", [this.oUILayer]); + this.oApp.exec("HIDE_DIALOG_LAYER", [this.oUILayer]); }, $ON_SHOW_FIND_REPLACE_LAYER : function(){ @@ -5681,6 +5681,7 @@ xe.XE_XHTMLFormatter = $.Class({ xe.XE_Extension = jQuery.Class({ name : "XE_Extension", seq : '', + last_doc : '', $init : function(elAppContainer, editor_sequence) { this.seq = editor_sequence; @@ -5711,10 +5712,12 @@ xe.XE_Extension = jQuery.Class({ jQuery('img,div[editor_component]', doc).each(function(){ var obj = jQuery(this); - if(this.nodeName == 'IMG' && !obj.attr('editor_component')) obj.attr('editor_component','image_link') - if(!obj.attr('xeHandled')) { - obj.attr('xeHandled','YES'); + if(this.nodeName == 'IMG' && !obj.attr('editor_component')) { + obj.attr('editor_component','image_link'); + } + if(this.last_doc != doc) { obj.dblclick(fn); + this.last_doc = doc; } }); }, @@ -5768,11 +5771,9 @@ xe.XE_AutoSave = jQuery.Class({ }, $ON_MSG_APP_READY : function() { - var elSrl = jQuery(this.form._saved_doc_srl); var elTitle = jQuery(this.form._saved_doc_title); var elContent = jQuery(this.form._saved_doc_content); - var doc_srl = jQuery.trim(elSrl.val()); var title = jQuery.trim(elTitle.val()); var content = jQuery.trim(elContent.val()); diff --git a/modules/editor/skins/xpresseditor/js/xe_interface.js b/modules/editor/skins/xpresseditor/js/xe_interface.js index b0ee63f74..2b93ee509 100644 --- a/modules/editor/skins/xpresseditor/js/xe_interface.js +++ b/modules/editor/skins/xpresseditor/js/xe_interface.js @@ -206,7 +206,6 @@ function editorGetAutoSavedDoc(form) { setTimeout(function() { var response_tags = new Array("error","message","editor_sequence","title","content","document_srl"); exec_xml('editor',"procEditorLoadSavedDocument", param, function(a,b,c) { editorRelKeys[param['editor_sequence']]['primary'].value = a['document_srl']; if(typeof(uploadSettingObj[param['editor_sequence']]) == 'object') editorUploadInit(uploadSettingObj[param['editor_sequence']], true); }, response_tags); - }, 0); }