Restore arguments parameter to make function future-proof
This commit is contained in:
@@ -42,7 +42,7 @@ OpenLayers.Strategy.Fixed = OpenLayers.Class(OpenLayers.Strategy, {
|
|||||||
* the strategy was already active.
|
* the strategy was already active.
|
||||||
*/
|
*/
|
||||||
activate: function() {
|
activate: function() {
|
||||||
var activated = OpenLayers.Strategy.prototype.activate.call(this);
|
var activated = OpenLayers.Strategy.prototype.activate.apply(this, arguments);
|
||||||
if(activated) {
|
if(activated) {
|
||||||
this.layer.events.on({
|
this.layer.events.on({
|
||||||
"refresh": this.load,
|
"refresh": this.load,
|
||||||
|
|||||||
Reference in New Issue
Block a user