make redraw return the return value of mergeNewParams
This commit is contained in:
@@ -143,7 +143,7 @@ OpenLayers.Layer.HTTPRequest = OpenLayers.Class(OpenLayers.Layer, {
|
||||
*/
|
||||
redraw: function(force) {
|
||||
if (force) {
|
||||
this.mergeNewParams({"_olSalt": Math.random()});
|
||||
return this.mergeNewParams({"_olSalt": Math.random()});
|
||||
} else {
|
||||
return OpenLayers.Layer.prototype.redraw.call(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user