From ddc33b76bb0f6de1985aa1b4f9644ff7dc69c382 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 30 Sep 2009 11:31:36 -0700 Subject: [PATCH] Swap X and Y in image preview. Fixes bug #11073. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/File/Image.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 2f7e6c152..5ec83baef 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -26,6 +26,7 @@ - fixed #11070: i18n Asset_Navigation::assetsToInclude - fixed #11068: ITransact_recurringStatus - fixed #11075: product destroys variants + - fixed #11073: preview interchanges width and height properties 7.8.0 - upgraded YUI to 2.8.0r4 diff --git a/lib/WebGUI/Asset/File/Image.pm b/lib/WebGUI/Asset/File/Image.pm index c4166da6c..d9ca122c2 100644 --- a/lib/WebGUI/Asset/File/Image.pm +++ b/lib/WebGUI/Asset/File/Image.pm @@ -654,8 +654,8 @@ sub www_resize { var resize = new YAHOO.util.Resize('yui_img', { handles: 'all', knobHandles: true, - height: '${x}px', - width: '${y}px', + height: '${y}px', + width: '${x}px', proxy: true, ghost: true, status: true,