[Users] PrintProvider and IE8

geographika geographika at gmail.com
Fri Jan 14 10:34:19 CET 2011


Hi All,

I am finding that when using the current PrintProvider in IE8 the PDFs 
are blocked.

http://trac.geoext.org/browser/core/trunk/geoext/lib/GeoExt/data/PrintProvider.js

484         download: function(url) {
485             if (this.fireEvent("beforedownload", this, url) !== false) {
486                 if (Ext.isOpera || Ext.isIE) {
487                     // Make sure that Opera and IE don't replace the
488                     // content tab with the pdf
489                     window.open(url);
490                 } else {
491                     // This avoids popup blockers for all other browsers
492                     window.location.href = url;
493                 }
494             }
495             this.fireEvent("print", this, url);
496         }

It works if I replace the line with:

486                 if(Ext.isOpera || (Ext.isIE && !(Ext.isIE8))) {

Has anyone else found this?

Regards,

Seth

http://geographika.co.uk



More information about the Users mailing list