https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16575

            Bug ID: 16575
           Summary: Irregular behaviour using window.print() followed by
                    window.location.href=
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleon...@myacpl.org
          Reporter: dc...@prosentient.com.au
        QA Contact: testo...@bugs.koha-community.org

As we noticed in bug 11014, different browsers handle "window.print()"
differently.

In the case of window.print() followed by window.location.href=, I've found in
IE 11 on Windows 8.1 that the browser changes the window location before the
system print dialogue even opens. If I try to mitigate that using the timer
from bug 11014, it works in IE and Chrome, but it breaks in Firefox. If I try
to use the onafterprint in IE and Firefox, it works in IE but it breaks in
Firefox.

I started wondering if we even need to be using this window.print() followed by
window.location.href= and it occurred to me that we really don't. We should
just be using print.css.  

Patch to follow soon...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to