Set the scratch variable for the main asset as well.
This commit is contained in:
parent
09ad8d2a11
commit
ec567a7e24
1 changed files with 2 additions and 0 deletions
|
|
@ -188,6 +188,8 @@ false will do nothing.
|
||||||
sub exportAsHtml {
|
sub exportAsHtml {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $session = $self->session;
|
my $session = $self->session;
|
||||||
|
# set a scratch variable for Assets to know we're exporting
|
||||||
|
$session->scratch->set('isExporting', 1);
|
||||||
my ($returnCode, $message);
|
my ($returnCode, $message);
|
||||||
|
|
||||||
# get the i18n object
|
# get the i18n object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue