Restore arguments parameter to make function future-proof

This commit is contained in:
friedjoff
2013-01-08 15:40:00 +01:00
parent 77eefdbd55
commit c1015d31e4

View File

@@ -42,7 +42,7 @@ OpenLayers.Strategy.Fixed = OpenLayers.Class(OpenLayers.Strategy, {
* the strategy was already active.
*/
activate: function() {
var activated = OpenLayers.Strategy.prototype.activate.call(this);
var activated = OpenLayers.Strategy.prototype.activate.apply(this, arguments);
if(activated) {
this.layer.events.on({
"refresh": this.load,