From ca1a22995a6ff05006ca9d7960988b521cd7e196 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Fri, 25 Mar 2011 22:22:38 -0500 Subject: [PATCH] strict. warnings. and of course make it work... --- lib/WebGUI/AssetHelper/Image/Resize.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/WebGUI/AssetHelper/Image/Resize.pm b/lib/WebGUI/AssetHelper/Image/Resize.pm index c1913d63a..0ff0225c9 100644 --- a/lib/WebGUI/AssetHelper/Image/Resize.pm +++ b/lib/WebGUI/AssetHelper/Image/Resize.pm @@ -157,7 +157,11 @@ sub www_resizeSave { $asset->setSize( $asset->getStorageLocation->getFileSize( $asset->filename ) ); $asset->generateThumbnail; WebGUI::VersionTag->autoCommitWorkingIfEnabled( $session, { allowComments => 0 } ); + # We're in admin mode, close the dialog + my $helper = { + message => 'Image Resized', + }; my $text = '