mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
xpresseditor 사용하지 않는 부분 지움, 에디터 컴포넌트 선택하면 컴포넌트 선택하는 레이어 닫히게 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6841 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
abd6c49261
commit
9303226639
2 changed files with 19 additions and 9 deletions
|
|
@ -29,7 +29,6 @@
|
|||
<!-- 자동저장용 폼 -->
|
||||
|
||||
<!--@if($enable_autosave)-->
|
||||
<input type="hidden" name="_saved_doc_srl" value="{$saved_doc->document_srl}" />
|
||||
<input type="hidden" name="_saved_doc_title" value="{htmlspecialchars($saved_doc->title)}" />
|
||||
<input type="hidden" name="_saved_doc_content" value="{htmlspecialchars($saved_doc->content)}" />
|
||||
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
|
||||
|
|
|
|||
|
|
@ -5714,18 +5714,29 @@ 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(this.last_doc != doc) {
|
||||
obj.dblclick(fn);
|
||||
this.last_doc = doc;
|
||||
}
|
||||
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;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
$ON_MSG_APP_READY : function() {
|
||||
this.oApp.exec('REGISTER_UI_EVENT', ['extension', 'click', 'TOGGLE_EXTENSION_LAYER']);
|
||||
var oApp = this.oApp;
|
||||
oApp.exec('REGISTER_UI_EVENT', ['extension', 'click', 'TOGGLE_EXTENSION_LAYER']);
|
||||
var functn = function(){
|
||||
oApp.exec("HIDE_ACTIVE_LAYER", []);
|
||||
};
|
||||
jQuery('a', this.elDropdownLayer).each(function(){
|
||||
var obj = jQuery(this);
|
||||
if(!obj.attr('component_onclick_event_added')) {
|
||||
obj.click(functn);
|
||||
obj.attr('component_onclick_event_added','Y');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
$ON_TOGGLE_EXTENSION_LAYER : function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue