[Commits] r1306 - sandbox/camptocamp/geobretagne/lib/GeoExt/data

commits at geoext.org commits at geoext.org
Wed Aug 5 16:06:17 CEST 2009


Author: elemoine
Date: 2009-08-05 16:06:17 +0200 (Wed, 05 Aug 2009)
New Revision: 1306

Modified:
   sandbox/camptocamp/geobretagne/lib/GeoExt/data/AttributeStore.js
Log:
svn merge -r1303:HEAD http://svn.geoext.org/core/trunk/geoext .


Modified: sandbox/camptocamp/geobretagne/lib/GeoExt/data/AttributeStore.js
===================================================================
--- sandbox/camptocamp/geobretagne/lib/GeoExt/data/AttributeStore.js	2009-08-05 14:05:37 UTC (rev 1305)
+++ sandbox/camptocamp/geobretagne/lib/GeoExt/data/AttributeStore.js	2009-08-05 14:06:17 UTC (rev 1306)
@@ -43,6 +43,7 @@
  *  ``Ext.data.Record.create``.  Defaults to ``["name", "type"]``. 
  */
 GeoExt.data.AttributeStore = function(c) {
+    c = c || {};
     GeoExt.data.AttributeStore.superclass.constructor.call(
         this,
         Ext.apply(c, {
@@ -56,4 +57,4 @@
         })
     );
 };
-Ext.extend(GeoExt.data.AttributeStore, Ext.data.Store);
\ No newline at end of file
+Ext.extend(GeoExt.data.AttributeStore, Ext.data.Store);



More information about the Commits mailing list