From 30deb80cfcbee79aad874962726b692c967014b4 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 17 Dec 2007 07:05:52 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9C=84=EC=A0=AF=EC=9D=84=20=EB=8B=A4?= =?UTF-8?q?=EB=A3=B0=EB=95=8C=20=EC=84=B8=EB=A1=9C=20=EB=86=92=EC=9D=B4?= =?UTF-8?q?=EB=A5=BC=20=EB=B9=84=EC=9A=B0=EA=B1=B0=EB=82=98=20100%?= =?UTF-8?q?=EB=A1=9C=20=ED=95=98=EB=A9=B4=20=EC=BB=A8=ED=85=90=EC=B8=A0?= =?UTF-8?q?=EC=9D=98=20=ED=81=AC=EA=B8=B0=EC=97=90=20=EB=A7=9E=EC=B6=B0?= =?UTF-8?q?=EC=A7=80=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3376 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/widget/tpl/js/widget.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/widget/tpl/js/widget.js b/modules/widget/tpl/js/widget.js index 5ffd0f3e7..297ae7d64 100644 --- a/modules/widget/tpl/js/widget.js +++ b/modules/widget/tpl/js/widget.js @@ -481,7 +481,15 @@ function doApplyWidgetSize(fo_obj) { if(width) selectedSizeWidget.style.width = width; var height = _getSize(fo_obj.height.value); - if(height) selectedSizeWidget.style.height = height; + if(height && height != "100%") selectedSizeWidget.style.height = height; + else { + selectedSizeWidget.style.height = ''; + var widgetBorder = xGetElementsByClassName('widgetBorder',selectedSizeWidget); + for(var i=0;i