[Mapbender-commits] r6413 - branches/2.6/http/javascripts

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


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

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

Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php	2010-06-23 10:48:41 UTC (rev 6412)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php	2010-06-23 10:48:55 UTC (rev 6413)
@@ -2102,7 +2102,7 @@
 						
 						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