Opened 14 years ago

Closed 12 years ago

#13 closed defect (worksforme)

javascript errors in mozilla etc for pngfix.js

Reported by: steve@… Owned by: steve@…
Priority: trivial Milestone: OSM 1.0
Component: website Version:
Keywords: javascript ie mozilla png Cc: Sebastian@…

Description

I always get a JavaScript? error in Mozilla for window.attachEvent("onload", correctPNG); Probably you should make this call dependent on browser type.


I think that this file: ruby/editing-interface/include/top.rhtml needs to wrap the MSIE workaround in a MSIE specific conditional as below (other browsers just see it as a comment) <!--[if gt IE 5.0]> <script type="text/javascript" src="/javascript/pngfix.js"></script> <![endif]-->

Change History (2)

comment:1 Changed 14 years ago by Tom

Keywords: javascript ie mozilla png added
Milestone: OSM 0.5OSM 1.0
Priority: majortrivial
Summary: javascript bugletjavascript errors in mozilla etc for pngfix.js

comment:2 Changed 12 years ago by Sebastian@…

Cc: Sebastian@… added
Resolution: worksforme
Status: newclosed

I just browsed the web-site and the slippy map with a Mozilla-derived browser and filed on error I got. Did not manage to replicate the reported bug. In in my spring-cleaning bug closing spree I will simply mark WORKSFORME. Sorry if this seems rude and overzealous, please reopen if you still experience this. A lot has changed in 1.5 years.

Note: See TracTickets for help on using tickets.