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

@ -1,6 +1,7 @@
7.10.24
- fixed #12256: Calendar Search doesn't show admin controls
- fixed #12268: Point of sale form missing from cart screen.
- fixed #12201: AssetReport - no selects.
7.10.23
- fixed #12225: Stock asset, multiple instances on a page

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);