FF forgot my trac password grrr, i filed it as openlayers with a patch http://trac.openlayers.org/ticket/1899
z On Tue, Jan 13, 2009 at 12:42 AM, Frédéric Junod <[email protected]> wrote: > Zac, > > I use FF 3.0.5 and the firefox nightly build on firefox and never got this > error ... > > Anyway, you're right about the array length test, could you open a ticket ? > See http://trac.openlayers.org/wiki/FilingTickets > > fredj > > Le Tue, 13 Jan 2009 00:20:20 +1100, > "Zac Spitzer" <[email protected]> a écrit : > >> this code for detecting IE is throwing warnings in firebug >> >> OpenLayers.Util.alphaHack = function() { >> if (OpenLayers.Util.alphaHackNeeded == null) { >> var arVersion = navigator.appVersion.split("MSIE"); >> var version = parseFloat(arVersion[1]); >> >> Unexpected value undefined parsing r attribute. >> [Break on this error] undefined >> Util.js (line 414) >> >> (my line numbers are a bit out as i have the $ stuff commented out as >> I found IE gets >> confused with jquery) >> >> shouldn't there be a be a check to see if the array has two elements >> before checking it? >> >> logically >> >> var arVersion = navigator.appVersion.split("MSIE"); >> if(arVersion.length === 1) >> OpenLayers.Util.alphaHackNeeded= false; >> > > > -- > Frédéric Junod > Camptocamp SA > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
