Addressing final review comments.
This commit is contained in:
@@ -198,7 +198,7 @@ OpenLayers.WPSClient = OpenLayers.Class({
|
||||
this.events.register('describeprocess', this, function describe(evt) {
|
||||
if (evt.identifier === processID) {
|
||||
this.events.unregister('describeprocess', this, describe);
|
||||
callback.call(scope, evt);
|
||||
callback.call(scope, evt.raw);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -209,6 +209,15 @@ OpenLayers.WPSClient = OpenLayers.Class({
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: destroy
|
||||
*/
|
||||
destroy: function() {
|
||||
this.events.destroy();
|
||||
this.events = null;
|
||||
this.servers = null;
|
||||
},
|
||||
|
||||
CLASS_NAME: 'OpenLayers.WPSClient'
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user