mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +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
|
|
@ -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