strict. warnings. and of course make it work...
This commit is contained in:
parent
3a50e39ca1
commit
ca1a22995a
1 changed files with 4 additions and 0 deletions
|
|
@ -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' ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue