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

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-07-16 23:10:00 +00:00
parent fd679a6ed0
commit 5aa11b0c73

View File

@@ -133,7 +133,7 @@ OpenLayers.Layer.TileCache = OpenLayers.Class(OpenLayers.Layer.Grid, {
if (url instanceof Array) { if (url instanceof Array) {
url = this.selectUrl(path, url); url = this.selectUrl(path, url);
} }
url = (url[url.length - 1] == '/') ? url : url + '/'; url = (url.charAt(url.length - 1) == '/') ? url : url + '/';
return url + path; return url + path;
}, },