Changeset 385

Show
Ignore:
Timestamp:
07/10/06 02:17:09
Author:
piv
Message:

IE compatibility

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneGoogleMaps/trunk/skins/qPloneGoogleMaps/maps_markers.py

    r384 r385  
    4242if overviewControls: sControls += "map.addControl(new GOverviewMapControl());\n" 
    4343 
    44 if mapevents: 
     44#if mapevents: 
     45if False: 
    4546    sMapEvents = """ 
    4647      var listener = function(marker, point) { 
     
    7778//<![CDATA[ 
    7879 
    79 window.addEventListener('load', function(){ 
     80function onLoadMap(){ 
    8081  if (GBrowserIsCompatible()) { 
    8182 
     
    105106  } 
    106107  else window.alert("Google maps aren't compatible with current Browser."); 
    107 }, false); 
     108}; 
     109registerPloneFunction(onLoadMap); 
    108110//]]> 
    109111</script>