Don't change existing behavior for redraw(true)

This commit is contained in:
ahocevar
2011-12-26 19:53:23 +01:00
parent d42eec9775
commit 22e9fc92b8

View File

@@ -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);
},
/**