Jump to content

Printing In FireFox Throws Up An Ajax Error


Frederick

Recommended Posts

When printing a report in Firefox, I get the attached Ajax error. The same report printed in Chrome, Edge or Opera does not display the error.

I am using a TUniURLFrame to display the PDF file and in the control's OnFrameLoaded event, I have the following code:-

TUniURLFrame.JSInterface.JSCode(#1'.iframe.contentDocument.addEventListener("keydown", function(e){ajaxRequest('+ Self.WebForm.JSForm.JSName +', "keydown", ["key="+e.keyCode])});')

What am I missing here?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1546)

 

errorprintfirefox.png

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...