Don't change existing behavior for redraw(true)
This commit is contained in:
@@ -143,9 +143,10 @@ OpenLayers.Layer.HTTPRequest = OpenLayers.Class(OpenLayers.Layer, {
|
|||||||
*/
|
*/
|
||||||
redraw: function(force) {
|
redraw: function(force) {
|
||||||
if (force) {
|
if (force) {
|
||||||
this.params["_olSalt"] = Math.random();
|
this.mergeNewParams({"_olSalt": Math.random()});
|
||||||
|
} else {
|
||||||
|
return OpenLayers.Layer.prototype.redraw.call(this);
|
||||||
}
|
}
|
||||||
return OpenLayers.Layer.prototype.redraw.call(this);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user