Printing with browser blocking pops

Bug #1196235 reported by ROGER
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Community Backports (Web)
New
Undecided
Unassigned

Bug Description

Since my last update from trunk 7.0, I can't print invoice (and all things), because my Safari is blocking pops (window.open(url)).
A diff with previous version show in web/addons/web/static/src/js/coresetup.js the strange condition :

// iOS devices doesn't allow iframe use the way we do it,
// opening a new window seems the best way to workaround
        if (navigator.userAgent.match(/(iPod|iPhone|iPad)/) || true) {
...
            return window.open(url);
        }

It seems the " || true" has nothings to do here... Else this condition is always true.

Revision history for this message
ROGER (py-roger) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.