[fusion-commits] r1555 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Sep 26 13:02:03 EDT 2008
Author: pagameba
Date: 2008-09-26 13:02:03 -0400 (Fri, 26 Sep 2008)
New Revision: 1555
Modified:
trunk/lib/MGBroker.js
Log:
replace prototype Object.extend with OpenLayers.Util.extend
Modified: trunk/lib/MGBroker.js
===================================================================
--- trunk/lib/MGBroker.js 2008-09-26 17:01:35 UTC (rev 1554)
+++ trunk/lib/MGBroker.js 2008-09-26 17:02:03 UTC (rev 1555)
@@ -76,7 +76,7 @@
r.options.method = this.method;
}
var a = new OpenLayers.Ajax.Request( this.mapAgentURL,
- Object.extend({parameters:r.parameters, onComplete:f }, r.options));
+ OpenLayers.Util.extend({parameters:r.parameters, onComplete:f }, r.options));
a.originalRequest = r;
},
/**
@@ -154,14 +154,14 @@
* @param o {Object} an object that contains named key : value pairs
* representing parameters to a request
*/
- setParams : function( o ){ Object.extend( this.parameters, (o || {}) ); },
+ setParams : function( o ){ OpenLayers.Util.extend( this.parameters, (o || {}) ); },
/**
* set the options associated with this request
* @param o {Object} an object that contains named key : value pairs
* representing for a request
*/
- setOptions : function( o ){ Object.extend( this.options, (o || {}) ); },
+ setOptions : function( o ){ OpenLayers.Util.extend( this.options, (o || {}) ); },
/**
* returns a string containing all the request parameters in URL form suitable
More information about the fusion-commits
mailing list