danyhiol / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

GeometryControls broken in IE9 (patch included) #210

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open geometry controls with ie9

The controls do not load. I found the problem, IE9 is better so it does not 
need IE fixes to function normally.

Line 73+:

  me.isIE = false;
  // IE check, IE9 works fine without the fixes
  if(navigator.appName.indexOf('Explorer')>-1){
    if(!document.getElementsByClassName){
        me.isIE = true;
    }
  }

Patch included, my Ant installation generated different files for the packed 
version so i got confused :)

Original issue reported on code.google.com by bbr...@gmail.com on 24 Aug 2011 at 9:44

Attachments: