]> git.evergreen-ils.org Git - Evergreen.git/commit
In the original print code, an XPCOM would take a reference to a print window and...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Jul 2006 07:29:53 +0000 (07:29 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Jul 2006 07:29:53 +0000 (07:29 +0000)
commitdbea5d2369dbdf9b863aaee4e15bb6e753edd95e
treeb4a29e26333b942ff0524276eb1d594c2fd716ab
parent28305d79dee8ca83203fd6da569f859566fe9034
In the original print code, an XPCOM would take a reference to a print window and print it.  With modal windows, the window.open command would block, and when the xpcom was finally reached, the window would already be closed.  So the strategy then was to get the print window to print itself with javascript.  However, a print progress dialog would stick on screen, and when forcibly closed, would crash xulrunner.  This was using window.print; I wanted to try using the JSAN util.print library within the print window, but loading JSAN failed to work within the modal window.  What I could try to do now is either inline all the xpcom code and see if it works, or rework the window to be non-modal.  Neither appeals to me :)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@5024 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/util/print.js