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

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to