Changeset 7094
- Timestamp:
- 05/08/08 03:33:02 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/camptocamp/unhcr/lib/OpenLayers/Protocol/SQL/GoogleGears.js
r7083 r7094 208 208 OpenLayers.Console.debug("GoogleGears::commit()"); 209 209 var toCreate = [], toUpdate = []; 210 210 211 211 for (var i = layer.features.length - 1; i >= 0; i--) { 212 212 var feature = layer.features[i]; … … 227 227 } 228 228 if (toUpdate.length > 0) { 229 this. create(toUpdate, options.update);229 this.update(toUpdate, options.update); 230 230 } 231 231 },
