diff --git a/lib/WebGUI/AssetExportHtml.pm b/lib/WebGUI/AssetExportHtml.pm index 6722db17f..c1aa45051 100644 --- a/lib/WebGUI/AssetExportHtml.pm +++ b/lib/WebGUI/AssetExportHtml.pm @@ -188,6 +188,8 @@ false will do nothing. sub exportAsHtml { my $self = shift; my $session = $self->session; + # set a scratch variable for Assets to know we're exporting + $session->scratch->set('isExporting', 1); my ($returnCode, $message); # get the i18n object