[Mapbender-commits] r7487 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jan 28 08:53:27 EST 2011
Author: kmq
Date: 2011-01-28 05:53:27 -0800 (Fri, 28 Jan 2011)
New Revision: 7487
Modified:
trunk/mapbender/http/php/mod_wfs_conf_interface.js
Log:
comparsion of values fails with new wfs_conf serialization, lossned restriction on value
Modified: trunk/mapbender/http/php/mod_wfs_conf_interface.js
===================================================================
--- trunk/mapbender/http/php/mod_wfs_conf_interface.js 2011-01-28 13:34:02 UTC (rev 7486)
+++ trunk/mapbender/http/php/mod_wfs_conf_interface.js 2011-01-28 13:53:27 UTC (rev 7487)
@@ -498,7 +498,7 @@
if (value !== "") {
var $select = $td.children(":first");
$select.children("option").each(function () {
- if (this.value === value) {
+ if (this.value == value) {
$(this).attr("selected", "selected");
}
});
@@ -588,7 +588,7 @@
$("#" + prefix + "wfs_conf_form table:gt(0) tr:gt(0)").each(function () {
var currentFtElement = {
"id" : parseInt($(this).children("TD.wfs_conf_id").text(), 10),
- "name" : $(this).children("TD.wfs_conf_name").get(0).firstChild.data,
+ "NAME" : $(this).children("TD.wfs_conf_name").get(0).firstChild.data,
"type" : $(this).children("TD.wfs_conf_name").children("div").text()
};
for (var attr in ALL_WFS_CONF_ATTRIBUTES) {
More information about the Mapbender_commits
mailing list