changeset 251:477b054e9357

Saving multiple layers
author fknauft
date Mon, 19 Sep 2011 16:33:02 +0200
parents d7ceeb8ccbd7
children efd2469d1722
files gis_gui/blocks/layer.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/layer.js	Mon Sep 19 15:09:51 2011 +0200
+++ b/gis_gui/blocks/layer.js	Mon Sep 19 16:33:02 2011 +0200
@@ -108,6 +108,7 @@
     if (params == null) {
         params = this.params;
     }
+    params.id = $(elem).find(".layer_name").val();
     params.name = $(elem).find(".layer_name").val();
     params.position_field = $(elem).find(".layer_position_select").val();
     params.geometry_field = $(elem).find(".layer_geom_select").val();