Bug 704525 - When you have a mix of chart types (bar charts and pie charts)

Add calls to gnc:substring-replace-from-to to procedure gnc:report-run.
Filter out all occurances of jquery.min.js and jquery.jqplot.js except for the first occurances.
Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23144 57a11ea4-9604-0410-9ed3-97b8803252fd
pull/2/head
Geert Janssens 13 years ago
parent cc51bcf7c0
commit 28de0f4c78

@ -751,7 +751,10 @@
(lambda ()
(if report
(begin
(set! html (gnc:report-render-html report #t))))))
(set! html (gnc:report-render-html report #t))
(set! html (gnc:substring-replace-from-to html "jquery.min.js" "" 2 -1))
(set! html (gnc:substring-replace-from-to html "jquery.jqplot.js" "" 2 -1))
))))
(gnc-unset-busy-cursor '())
html))

Loading…
Cancel
Save