Bug 6005

Summary: Transit slips cause Firefox 4 to display "prevent this page from opening additional dialogs"
Product: Koha Reporter: Liz Rea <wizzyrea>
Component: CirculationAssignee: Liz Rea <wizzyrea>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: PATCH-Sent (DO NOT USE) CC: chris, gmcharlt, julian.maurice, wizzyrea
Version: 3.4   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed patch

Description Liz Rea 2011-03-30 14:14:48 UTC
Printing a transit slip in FF4 causes a dialog "Prevent this page from opening additional dialogs" to appear (and prevents one-click print/close).

There are two instances of window.print() in the template, which is likely causing this issue.
Comment 1 Liz Rea 2011-03-30 14:18:47 UTC
Created attachment 3526 [details]
Proposed patch
Comment 2 Chris Cormack 2011-03-31 08:58:12 UTC
Patch pushed, please test