summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2011-06-16 07:42:57 +0200
committerGuy Pyrzak <guy.pyrzak@gmail.com>2011-06-16 07:42:57 +0200
commit1b2a97410df9b794a820d88ce5e4723688e3499a (patch)
treec46ed8cc74fd495aa195a158df5ffbe64b1ad873
parentf6f78c6ea20839950921d17792758cc904fbfdf9 (diff)
downloadbugzilla-1b2a97410df9b794a820d88ce5e4723688e3499a.tar.gz
bugzilla-1b2a97410df9b794a820d88ce5e4723688e3499a.tar.xz
Bug 640987 - YUI is only used for the first tabular report when using multiple tables
r=mkanat, a=mkanat
-rw-r--r--template/en/default/reports/report-table.html.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index f1418e6a9..561d0517e 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -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>