changeset 198:1b3c75891824

Open new Layer with default red points
author fknauft
date Wed, 16 Feb 2011 16:47:59 +0100
parents a1fb4c3ac037
children 6c30ac875d92
files gis_gui/blocks/layer.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/layer.js	Wed Feb 16 16:46:30 2011 +0100
+++ b/gis_gui/blocks/layer.js	Wed Feb 16 16:47:59 2011 +0100
@@ -40,11 +40,11 @@
         $(be).find(".layer_geom_select").attr("element","<select id='geom'><option selected>point</option><option>poly</option><option>line</option></select>");
         if (!params.geometrie_field) {
             params.geometrie_field = "point";
-
+        }
         $(be).find(".layer_color_select").attr("element","<select id='color'><option selected>red</option><option>blue</option><option>black</option><option>green</option><option>violett</option></select>");
         if (!params.color_field) {
             params.color_field = "red";
-         
+        }
         $(be).find(".layer_shape_select").load("../db/RESTdb/db/public/"+tablename+"?format=HTML&type=schema_table_rows&layout=select&element_id=rows #rows *",
                 function() {
                     $(this).find("option:first").before('<option>Default</option>');