[Mapbender-commits] r8071 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 26 03:43:38 EDT 2011


Author: verenadiewald
Date: 2011-08-26 00:43:38 -0700 (Fri, 26 Aug 2011)
New Revision: 8071

Modified:
   branches/2.7/http/javascripts/mod_digitize_tab.php
Log:
add mapDependentSelect to buildElementForm

Modified: branches/2.7/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.7/http/javascripts/mod_digitize_tab.php	2011-08-25 09:55:37 UTC (rev 8070)
+++ branches/2.7/http/javascripts/mod_digitize_tab.php	2011-08-26 07:43:38 UTC (rev 8071)
@@ -2744,6 +2744,11 @@
 							if (pattern.test(formElementHtml)) {
 								formElementHtml = prepareUploadField(formElementHtml, "", isMandatory, elementLabel, elementValue, styleId);
 							}
+                                                        var patternString = "hasMapdependentSelect";
+							pattern = new RegExp(patternString);
+							if (pattern.test(formElementHtml)) {
+								formElementHtml = prepareMapdependentSelect(formElementHtml, "", isMandatory, elementLabel, elementValue, styleId);
+							}
 							str += formElementHtml;
 						}
 						



More information about the Mapbender_commits mailing list