From: Frédéric Buclin Date: Tue, 6 Mar 2012 21:03:48 +0000 (+0100) Subject: Bug 731323: Wrong URLs in the "Total" row at the bottom of tabular reports when JS... X-Git-Tag: bugzilla-4.3.1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebe30fe4ed3caedadccd9ffee7dbd63d3d164572;p=thirdparty%2Fbugzilla.git Bug 731323: Wrong URLs in the "Total" row at the bottom of tabular reports when JS is enabled and a user field is used for the vertical axis r=gerv a=LpSolit --- diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 47efe183ee..8c4901a883 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -33,6 +33,10 @@ YAHOO.util.Event.addListener(window, "load", function() { this.Linkify = function(elLiner, oRecord, oColumn, oData) { if (oData == 0) elLiner.innerHTML = "."; + else if (oRecord.getData("row_title") == "Total") + elLiner.innerHTML = "" + + oData + ""; else elLiner.innerHTML = "" + + oData + ""; else elLiner.innerHTML = "