Don't change existing behavior for redraw(true)
This commit is contained in:
1 parent
d42eec9775
commit
22e9fc92b8
1 file changed
+3
-2
@@ -143,9 +143,10 @@ OpenLayers.Layer.HTTPRequest = OpenLayers.Class(OpenLayers.Layer, {
|
||||
*/
|
||||
redraw: function(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