[Mapbender-commits] r8072 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Aug 26 03:44:41 EDT 2011
Author: verenadiewald
Date: 2011-08-26 00:44:41 -0700 (Fri, 26 Aug 2011)
New Revision: 8072
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
add mapDependentSelect to buildElementForm
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php 2011-08-26 07:43:38 UTC (rev 8071)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2011-08-26 07:44:41 UTC (rev 8072)
@@ -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