[Mapbender-commits] r6645 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 27 10:16:41 EDT 2010
Author: verenadiewald
Date: 2010-07-27 14:16:41 +0000 (Tue, 27 Jul 2010)
New Revision: 6645
Modified:
trunk/mapbender/http/plugins/mb_checkDigitizeDataDialog.js
Log:
set attrValue to empty if false
Modified: trunk/mapbender/http/plugins/mb_checkDigitizeDataDialog.js
===================================================================
--- trunk/mapbender/http/plugins/mb_checkDigitizeDataDialog.js 2010-07-27 07:09:37 UTC (rev 6644)
+++ trunk/mapbender/http/plugins/mb_checkDigitizeDataDialog.js 2010-07-27 14:16:41 UTC (rev 6645)
@@ -48,9 +48,16 @@
if (currentWfsConf.element[i].f_edit != 1) {
continue;
}
+ var featureAttr = currentFeature.e.getElementValueByName(currentWfsConf.element[i].element_name);
+ if(featureAttr === false) {
+ var attrValue = "";
+ }
+ else{
+ var attrValue = featureAttr;
+ }
digitizeData.push({
key: currentWfsConf.element[i].f_label,
- value: currentFeature.e.getElementValueByName(currentWfsConf.element[i].element_name)
+ value: attrValue
});
}
More information about the Mapbender_commits
mailing list