strict. warnings. and of course make it work...

This commit is contained in:
Doug Bell 2011-03-25 22:22:38 -05:00
parent 3a50e39ca1
commit ca1a22995a

View file

@ -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 = '<script type="text/javascript">';
if ( ref $helper eq 'HASH' ) {