OpenLayers OpenLayers

Changeset 3770

Show
Ignore:
Timestamp:
07/16/07 19:10:00 (1 year ago)
Author:
tschaub
Message:

#844 - fixing Layer.TileCache.getURL for IE - thanks again for those tests crschmidt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/TileCache.js

    r3767 r3770  
    134134            url = this.selectUrl(path, url); 
    135135        } 
    136         url = (url[url.length - 1] == '/') ? url : url + '/'; 
     136        url = (url.charAt(url.length - 1) == '/') ? url : url + '/'; 
    137137        return url + path; 
    138138    },