에디터컴포넌트의 팝업레이어 위치가 숨겨지는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4951 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-21 07:22:10 +00:00
parent be7763e48a
commit 586fe1a7ba

View file

@ -500,17 +500,18 @@ function showEditorHelp(e,editor_sequence){
}
}
function showEditorExtension(e,editor_sequence){
function showEditorExtension(evt,editor_sequence){
var oid = 'editorExtension_'+editor_sequence;
var e = new xEvent(evt);
if(xGetElementById(oid).className =='extension2'){
xGetElementById(oid).className = 'extension2 open';
if(e.pageX <= xWidth('editor_component_'+editor_sequence)){
xGetElementById('editor_component_'+editor_sequence).style.right='auto';
xGetElementById('editor_component_'+editor_sequence).style.left='0';
xGetElementById('editor_component_'+editor_sequence).style.left='0px';
}else{
xGetElementById('editor_component_'+editor_sequence).style.right='0';
xGetElementById('editor_component_'+editor_sequence).style.left='';
xGetElementById('editor_component_'+editor_sequence).style.right='0px';
xGetElementById('editor_component_'+editor_sequence).style.left='auto';
}
}else{