Posted 13 July 2018, 6:58 am EST
Hi, guys/gals,
I’m using the very simple wijmo.PrintDocument class. It works perfectly fine on my localhost, but when we deploy to our server I get the following error…
wijmo.min.js:13 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
t.httpRequest @ wijmo.min.js:13
e._close @ wijmo.min.js:13
e.print @ wijmo.min.js:13
print @ invoice_detail.js:123
fn @ VM278:4
e @ angular.js:27475
$eval @ angular.js:18542
$apply @ angular.js:18641
(anonymous) @ angular.js:27480
jg @ angular.js:3791
d @ angular.js:3779
4wijmo.min.js:13 Failed to load resource: the server responded with a status of 404 (Not Found)
t.httpRequest @ wijmo.min.js:13
e._close @ wijmo.min.js:13
e.print @ wijmo.min.js:13
print @ invoice_detail.js:123
fn @ VM278:4
e @ angular.js:27475
$eval @ angular.js:18542
$apply @ angular.js:18641
(anonymous) @ angular.js:27480
jg @ angular.js:3791
d @ angular.js:3779
First, is there a non-minified version of wijmo.js I can get to troubleshoot this further? Or is there a known issue here and we just need to configure our server differently? I’m concerned about the mention of deprecation for the synchronous operation. Is there a way to make the process asynchronous?
As always, thanks for your support!
Joe