From c0e22b64ce70dabd16aee324d7af3ade6d4f1a46 Mon Sep 17 00:00:00 2001 From: zero Date: Sun, 5 Aug 2007 01:57:55 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9E=90=EB=8F=99=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9E=91=EC=95=84=EC=A7=84=20=EC=9D=B4=EB=AF=B8=EC=A7=80?= =?UTF-8?q?=EB=A5=BC=20=EC=B0=BE=EC=95=84=EB=82=B4=EB=8A=94=20=ED=95=A8?= =?UTF-8?q?=EC=88=98=EC=97=90=EC=84=9C=20zbxe=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EB=94=94=EB=A0=89=ED=86=A0=EB=A6=AC=EC=9D=98=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EB=93=A4=EC=9D=80=20=EA=B2=80=EC=82=AC=20=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@2182 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/common.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/js/common.js b/common/js/common.js index 7f95448e3..58939aa15 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -179,6 +179,9 @@ function resizeImageContents() { if(parent.nodeName != "TD" && parent.nodeName != "DIV") continue; if(/\/modules\//i.test(obj.src)) continue; + if(/\/layouts\//i.test(obj.src)) continue; + if(/\/widgets\//i.test(obj.src)) continue; + if(/\/classes\//i.test(obj.src)) continue; if(/\/common\/tpl\//i.test(obj.src)) continue; if(/\/member_extra_info\//i.test(obj.src)) continue; @@ -187,8 +190,8 @@ function resizeImageContents() { var orig_img = new Image(); orig_img.src = obj.src; - if(parent_width<0 || obj_width < 0) continue; - if(parent_width > obj_width && orig_img.width <= obj_width) continue; + if(parent_width<1 || obj_width <1) continue; + if(parent_width>=obj_width && orig_img.width <= obj_width) continue; obj.style.cursor = "pointer";