[Commits] r584 - apps/opengeo/geoexplorer/trunk/lib
commits at geoext.org
commits at geoext.org
Fri May 1 21:25:37 CEST 2009
Author: sbenthall
Date: 2009-05-01 21:25:37 +0200 (Fri, 01 May 2009)
New Revision: 584
Modified:
apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
Log:
give new records added from CapGrid a unique id
Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-05-01 19:20:37 UTC (rev 583)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-05-01 19:25:37 UTC (rev 584)
@@ -91,7 +91,7 @@
var record, layer;
for(var i = 0; i < records.length; i++){
- record = records[i].copy();
+ record = records[i].copy(++Ext.data.Record.AUTO_ID);
/*
* TODO: deal with srs and maxExtent
* At this point, we need to think about SRS if we want the layer to
More information about the Commits
mailing list