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