mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user