git-svn-id: http://xe-core.googlecode.com/svn/trunk@632 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-24 14:01:25 +00:00
parent 37b4a0494d
commit 2adef9ca35
3 changed files with 4 additions and 3 deletions

View file

@ -139,7 +139,8 @@
if($x&&$y) $html .= 'mapObj.setCenterAndZoom(new NPoint('.$x.','.$y.'),3);';
$html .= 'mapObj.enableWheelZoom();'.
$html .= ''.
//'mapObj.enableWheelZoom();'.
'NEvent.addListener(mapObj, "click", function(pos) { if(typeof(top.mapClicked)!="undefined") top.mapClicked(pos); });'.
'NEvent.addListener(mapObj, "mouseup", function(pos) { if(typeof(top.mapClicked)!="undefined") top.mapClicked(pos); });'.
'</script>'.

View file

@ -150,7 +150,6 @@ function editorGetSelectedNode(upload_target_srl) {
// 에디터 내의 선택된 부분의 html코드를 변경
function editorReplaceHTML(iframe_obj, html) {
html += "\n";
iframe_obj.contentWindow.focus();
if(xIE4Up) {
var range = iframe_obj.contentWindow.document.selection.createRange();