r23145 - gnucash/trunk/src/report/report-system - Add comment to document the hack for multicolumn multi-chart reports

Geert Janssens gjanssens at code.gnucash.org
Sun Aug 18 17:22:15 EDT 2013


Author: gjanssens
Date: 2013-08-18 17:22:15 -0400 (Sun, 18 Aug 2013)
New Revision: 23145
Trac: http://svn.gnucash.org/trac/changeset/23145

Modified:
   gnucash/trunk/src/report/report-system/report.scm
Log:
Add comment to document the hack for multicolumn multi-chart reports

Modified: gnucash/trunk/src/report/report-system/report.scm
===================================================================
--- gnucash/trunk/src/report/report-system/report.scm	2013-08-18 21:22:07 UTC (rev 23144)
+++ gnucash/trunk/src/report/report-system/report.scm	2013-08-18 21:22:15 UTC (rev 23145)
@@ -743,6 +743,10 @@
 
 ;; looks up the report by id and renders it with gnc:report-render-html
 ;; marks the cursor busy during rendering; returns the html
+;; Note: the final html document is post-processed to ensure there's only one single
+;;       inclusion of the jquery/jqplot libraries. This is only needed to fix multicolumn
+;;       reports with multiple charts, but doing it more generally is an
+;;       acceptable hack until a cleaner solution can be found (bug #704525)
 (define (gnc:report-run id)
   (let ((report (gnc-report-find id))
 	(html #f))



More information about the gnucash-changes mailing list