Just call read; don't store variable
This commit is contained in:
@@ -118,7 +118,7 @@ OpenLayers.Tile.UTFGrid = OpenLayers.Class(OpenLayers.Tile, {
|
|||||||
callback: cback,
|
callback: cback,
|
||||||
scope: this
|
scope: this
|
||||||
});
|
});
|
||||||
var res = ols.read();
|
ols.read();
|
||||||
} else {
|
} else {
|
||||||
// Use standard AJAX call
|
// Use standard AJAX call
|
||||||
var resp = new OpenLayers.Protocol.Response({requestType: "read"});
|
var resp = new OpenLayers.Protocol.Response({requestType: "read"});
|
||||||
|
|||||||
Reference in New Issue
Block a user