Changeset 9641


Ignore:
Timestamp:
Aug 31, 2011, 4:21:00 PM (13 years ago)
Author:
rick
Message:

Fix initial IE errors, reported by Martijn.

Location:
src/django_gheat/wlheatmap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/static/heatmap.js

    r9599 r9641  
    2525      new OpenLayers.Control.OverviewMap({
    2626        maximized : false,
    27         mapOptions: { theme: null, },
     27        mapOptions: { theme: null },
    2828      }),
    2929      new OpenLayers.Control.MousePosition({ 'displayProjection' : projection_wgs }),
  • src/django_gheat/wlheatmap/static/heatmap_extensions.js

    r9578 r9641  
    4848  });
    4949  $("#end_date").datepicker({
    50     dateFormat: "dd/mm/yy",
     50    dateFormat: "dd/mm/yy"
    5151  });
    5252
  • src/django_gheat/wlheatmap/templates/js/LayerBase.js

    r9596 r9641  
    2222    if (this.src.match(/^http:\/\/[abc]\.[a-z]+\.openstreetmap\.org\//)) {
    2323        this.src = OpenLayers.Util.OSM.MISSING_TILE_URL;
    24     } else if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//)) {
    25         // do nothing - this layer is transparent
    26     } else {
     24    } if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//) == null) {
    2725        OpenLayers.Util.OSM.originalOnImageLoadError;
    2826    }
Note: See TracChangeset for help on using the changeset viewer.