Commit 1b2a9741 authored by Guy Pyrzak's avatar Guy Pyrzak

Bug 640987 - YUI is only used for the first tabular report when using multiple tables

r=mkanat, a=mkanat
parent f6f78c6e
......@@ -125,7 +125,9 @@ YAHOO.util.Event.addListener(window, "load", function() {
{key:"total", parser:this.parseNumber}
]
};
this.myDataTable = new YAHOO.widget.DataTable("tabular_report_container", myColumnDefs, this.myDataSource, {formatRow: totalRowFormatter});
this.myDataTable = new YAHOO.widget.DataTable("tabular_report_container_
[% tbl FILTER js %]", myColumnDefs, this.myDataSource,
{formatRow: totalRowFormatter});
});
</script>
......@@ -153,7 +155,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
[% col_idx = 0 %]
[% row_idx = 0 %]
[% grand_total = 0 %]
<div id="tabular_report_container">
<div id="tabular_report_container_[% tbl FILTER js %]">
<table id="tabular_report" border="1">
[% IF col_field %]
<thead>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment