Changeset 385
- Timestamp:
- 07/10/06 02:17:09
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneGoogleMaps/trunk/skins/qPloneGoogleMaps/maps_markers.py
r384 r385 42 42 if overviewControls: sControls += "map.addControl(new GOverviewMapControl());\n" 43 43 44 if mapevents: 44 #if mapevents: 45 if False: 45 46 sMapEvents = """ 46 47 var listener = function(marker, point) { … … 77 78 //<![CDATA[ 78 79 79 window.addEventListener('load', function(){80 function onLoadMap(){ 80 81 if (GBrowserIsCompatible()) { 81 82 … … 105 106 } 106 107 else window.alert("Google maps aren't compatible with current Browser."); 107 }, false); 108 }; 109 registerPloneFunction(onLoadMap); 108 110 //]]> 109 111 </script>
