[Mapbender-commits] r6412 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jun 23 06:48:41 EDT 2010


Author: christoph
Date: 2010-06-23 10:48:41 +0000 (Wed, 23 Jun 2010)
New Revision: 6412

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
http://trac.osgeo.org/mapbender/ticket/647

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-06-23 09:48:57 UTC (rev 6411)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-06-23 10:48:41 UTC (rev 6412)
@@ -2754,7 +2754,7 @@
 						var elementId = String(myform.elements[i].id).replace(/mb_digitize_form_/, "");
 						var $dataTypeNode =  $(myform.elements[i]).prev("input");
 						// if featuretype element is numeric, do not send empty fields
-						if ($dataTypeNode.size() === 1 && -1 !== $.inArray($dataTypeNode.attr("value"), ["int", "double", "float"])) {
+						if ($dataTypeNode.size() === 1 && -1 !== $.inArray($dataTypeNode.attr("value"), ["int", "double", "float", "decimal"])) {
 							if (myform.elements[i].value !== "") {
 								d.get(m).e.setElement(elementId, myform.elements[i].value);
 							}



More information about the Mapbender_commits mailing list