From 5296036e7589e9b73860ddf1e58723e7e0df6f56 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 21 Mar 2007 13:03:22 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@591 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/components/naver_map/tpl/popup.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/editor/components/naver_map/tpl/popup.js b/modules/editor/components/naver_map/tpl/popup.js index cc79a5e40..9c0374467 100644 --- a/modules/editor/components/naver_map/tpl/popup.js +++ b/modules/editor/components/naver_map/tpl/popup.js @@ -11,14 +11,17 @@ function getNaverMap() { var x = node.getAttribute("x"); var y = node.getAttribute("y"); - var width = node.getAttribute("width"); - var height = node.getAttribute("height"); + var width = xWidth(node); + var height = xHeight(node); var address = node.getAttribute("address"); var selected_address = node.getAttribute("selected_address"); if(!address || !x || !y) return; xGetElementById("address").value = address; search_address(selected_address); + + xGetElementById("navermap_width").value = width-6; + xGetElementById("navermap_height").value = height-6; } function insertNaverMap(obj) {