diff gis_gui/blocks/tablestructure.js @ 252:efd2469d1722

geometry-column of tables will be displayed as string
author fknauft
date Tue, 20 Sep 2011 11:19:35 +0200
parents c84536a4993a
children 3a10287447b1
line wrap: on
line diff
--- a/gis_gui/blocks/tablestructure.js	Mon Sep 19 16:33:02 2011 +0200
+++ b/gis_gui/blocks/tablestructure.js	Tue Sep 20 11:19:35 2011 +0200
@@ -27,7 +27,7 @@
         var row = [];
         for (var i = 0; i < fields.length; i++) {
             colheads.push({'sTitle': fields[i].name});
-            row.push(getHtmlSelectFromList(['text','number','gis_id','coord_lat','coord_lon','id'],fields[i].type,'class="type_'+fields[i].name+'"'));
+            row.push(getHtmlSelectFromList(['text','number','gis_id','coord_lat','coord_lon','the_geom','id'],fields[i].type,'class="type_'+fields[i].name+'"'));
         }
         // Add DataTables functionality
         $(tbl).dataTable({