Adding back call to assetReport.js - Fixes bug #12201

This commit is contained in:
Ernesto Hernández-Novich 2011-10-04 19:14:04 -04:30
parent c1945a1dd0
commit e5ef40f0a4
2 changed files with 2 additions and 0 deletions

View file

@ -261,6 +261,7 @@ sub toHtml {
$style->setRawHeadTags(qq|<script type="text/javascript">var classValues = $jsonStr; </script>|);
my $jsonData = $self->get("value") || q|{ "isNew" : "true" }|;
$style->setRawHeadTags(qq|<script type="text/javascript">var dataValues = $jsonData; var first_row_error_msg = '$first_row_error_msg';</script>|);
$self->headTags();
#Decode JSON data for filling in some of the fields
my $jsonDataHash = JSON->new->decode($jsonData);