[Mapbender-commits] r7148 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 24 04:48:45 EST 2010
Author: verenadiewald
Date: 2010-11-24 01:48:45 -0800 (Wed, 24 Nov 2010)
New Revision: 7148
Modified:
trunk/mapbender/lib/basic.js
Log:
let easyform validate a checkbox correctly
Modified: trunk/mapbender/lib/basic.js
===================================================================
--- trunk/mapbender/lib/basic.js 2010-11-24 09:41:52 UTC (rev 7147)
+++ trunk/mapbender/lib/basic.js 2010-11-24 09:48:45 UTC (rev 7148)
@@ -444,6 +444,9 @@
}
});
}
+ else if ($node.get(0).tagName.toUpperCase() === "INPUT" && $node.attr("type") === "checkbox") {
+ $node.attr("checked", data[i] ? true : false);
+ }
else {
$node.val(data[i]);
}
More information about the Mapbender_commits
mailing list