[Commits] r891 - sandbox/opengeo/geoexplorer/lib/GeoExt/data
commits at geoext.org
commits at geoext.org
Thu May 28 23:28:46 CEST 2009
Author: tcoulter
Date: 2009-05-28 23:28:46 +0200 (Thu, 28 May 2009)
New Revision: 891
Modified:
sandbox/opengeo/geoexplorer/lib/GeoExt/data/WMSCapabilitiesStore.js
Log:
Allow for the case where there are no configuration values needed (such as when the caps doc has already been reqeuested, and is loaded through loadData()).
Modified: sandbox/opengeo/geoexplorer/lib/GeoExt/data/WMSCapabilitiesStore.js
===================================================================
--- sandbox/opengeo/geoexplorer/lib/GeoExt/data/WMSCapabilitiesStore.js 2009-05-28 21:10:50 UTC (rev 890)
+++ sandbox/opengeo/geoexplorer/lib/GeoExt/data/WMSCapabilitiesStore.js 2009-05-28 21:28:46 UTC (rev 891)
@@ -37,6 +37,7 @@
* Ext.data.Record.create. Defaults to ["name", "type"].
*/
GeoExt.data.WMSCapabilitiesStore = function(c) {
+ c = c || {};
GeoExt.data.WMSCapabilitiesStore.superclass.constructor.call(
this,
Ext.apply(c, {
More information about the Commits
mailing list