shahz
December 18, 2019, 8:52pm
1
Hey guys,
The PDF preview is not displaying anything when I’m creating invoices.
In the browser console, it throws:
Failed to generate PDF: pdfMake is not defined
I can confirm that this used to work previously and I have actually setup my own template that was displaying perfectly previously.
This only happend on the preview area. The invoice does get generated and attached as PDF too.
I also checked in settings -> Account Management and “Live Preview” is enabled.
Appreciate some help please.
hillel
December 19, 2019, 9:18am
2
Are you using a custom design/does changing to the clean design help?
shahz
December 20, 2019, 2:57am
3
Hi there, turns out it was a caching problem. I cleared it and it loaded perfectly.
hillel
December 20, 2019, 3:02am
4
Glad to hear it’s working, thanks for the update!
vincent
November 24, 2020, 4:21pm
5
Hello,
I encountered this issue (no invoice preview) in Firefox 69 (Linux Mint 19, new account on InvoieNinja.com ). It works as expected in FF 85 (Nightly).
Best,
ben
November 25, 2020, 9:46am
6
Hey @vincent ,
Firefox 69 was released over a year ago. For a browser that’s quite some time, so it’s hard to tell what could be wrong. Could you please update to the latest Firefox & see if it works?
vincent
December 2, 2020, 11:28am
7
Hi @ben ,
Sure, as I said, it works on Firefox 85
BTW, if that helps, here are the warnings I see in the console:
unreachable code after return statement2 edit:4297:8
Empty string passed to getElementById(). 100 autofill.js:252:20
Best,
ben
December 3, 2020, 9:46am
9
Thanks for reporting this back to us. Like I said, one year for a browser is HUGE.
Glad it worked on latest version.
Cheers