Hi, thanks for your findings - your fix sounds reasonable, I would just do it the other way around (check for IE6 and IE7 instead of IE and !IE8). Can you please create a ticket for this issue on http://trac.geoext.org/. If you don't have an account there, let me know your desired username and I'll create one for you.
Andreas. On Jan 14, 2011, at 10:34 , geographika wrote: > 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 -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
