From 0c6422b669458447a720efe937e0d75a260bb1fa Mon Sep 17 00:00:00 2001 From: ngleader Date: Thu, 6 Nov 2008 06:57:09 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4782 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/tpl/js/editor.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index 6c3a0d350..a5b471101 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -487,13 +487,15 @@ function showEditorHelp(e,editor_sequence){ if(xGetElementById(oid).className =='editorHelp'){ xGetElementById(oid).className = 'editorHelp open'; - if(e.pageX <= xWidth('helpList_'+editor_sequence)){ +/* + if(xEvent(e).pageX <= xWidth('helpList_'+editor_sequence)){ xGetElementById('helpList_'+editor_sequence).style.right='auto'; xGetElementById('helpList_'+editor_sequence).style.left='0'; }else{ xGetElementById('helpList_'+editor_sequence).style.right='0'; xGetElementById('helpList_'+editor_sequence).style.left=''; } + */ }else{ xGetElementById(oid).className = 'editorHelp'; } @@ -503,8 +505,9 @@ function showEditorExtension(e,editor_sequence){ var oid = 'editorExtension_'+editor_sequence; if(xGetElementById(oid).className =='extension2'){ xGetElementById(oid).className = 'extension2 open'; - + var e = new xEvent(e); if(e.pageX <= xWidth('editor_component_'+editor_sequence)){ + xGetElementById('editor_component_'+editor_sequence).style.right='auto'; xGetElementById('editor_component_'+editor_sequence).style.left='0'; }else{