Skip to content
Browse files

disabled osw for ie7 test

  • Loading branch information...
1 parent f0c7fb3 commit d874266b60af94b5a1a3805b70ee69ecad7552c4 @kunaldi kunaldi committed Jan 25, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 app/assets/javascripts/main.js.erb
View
30 app/assets/javascripts/main.js.erb
@@ -39,21 +39,21 @@ $(function() {
refreshKML();
});
- window.osw_widget = new OhSoWe.MapWidget({
- version: "0.1",
- partnerId: "snowflake",
- container: "osw_widget",
- miniWidgetStyle: 'noText', //'default' or 'noText'
- onReady: function(widget) {
- //set the initial bounds
- widget.boundsChanged(map.getBounds().toUrlValue());
- //set the google maps listener
- google.maps.event.addListener(map, 'bounds_changed', function() {
- //if (bDebug) console.debug('bounds_changed');
- widget.boundsChanged(map.getBounds().toUrlValue());
- });
- }
- }).render();
+ //window.osw_widget = new OhSoWe.MapWidget({
+ // version: "0.1",
+ // partnerId: "snowflake",
+ // container: "osw_widget",
+ // miniWidgetStyle: 'noText', //'default' or 'noText'
+ // onReady: function(widget) {
+ // //set the initial bounds
+ // widget.boundsChanged(map.getBounds().toUrlValue());
+ // //set the google maps listener
+ // google.maps.event.addListener(map, 'bounds_changed', function() {
+ // //if (bDebug) console.debug('bounds_changed');
+ // widget.boundsChanged(map.getBounds().toUrlValue());
+ // });
+ // }
+ //}).render();
function refreshKML(auto_fetch_info) {
var c = map.getCenter();

0 comments on commit d874266

Please sign in to comment.
Something went wrong with that request. Please try again.