checkbox in asset manager for clearPackageFlag
This commit is contained in:
parent
c5bddbd95c
commit
3a9c3e5d9a
3 changed files with 12 additions and 1 deletions
|
|
@ -357,7 +357,10 @@ sub www_importPackage {
|
|||
|
||||
my $error = "";
|
||||
if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {
|
||||
$error = $self->importPackage($storage, {inheritPermissions => $inheritPermissions});
|
||||
$error = $self->importPackage($storage, {
|
||||
inheritPermissions => $inheritPermissions,
|
||||
clearPackageFlag => $self->session->form->process('clearPackageFlag'),
|
||||
});
|
||||
}
|
||||
if (!blessed $error) {
|
||||
my $i18n = WebGUI::International->new($self->session, "Asset");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue