[Mapbender-commits] r9537 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 13 01:57:57 PDT 2016


Author: armin11
Date: 2016-07-13 01:57:57 -0700 (Wed, 13 Jul 2016)
New Revision: 9537

Modified:
   trunk/mapbender/http/plugins/mb_sessionWmc.js
Log:
Enable checkbox by default

Modified: trunk/mapbender/http/plugins/mb_sessionWmc.js
===================================================================
--- trunk/mapbender/http/plugins/mb_sessionWmc.js	2016-07-11 09:15:25 UTC (rev 9536)
+++ trunk/mapbender/http/plugins/mb_sessionWmc.js	2016-07-13 08:57:57 UTC (rev 9537)
@@ -142,7 +142,7 @@
 			for (var index in caseObj.wms) {
 				var wms = caseObj.wms[index];
 				permissionHtml += "<label for='" + constraintType + "_" + wms.index + "'>" +
-				(constraintType === "noPermission" ? "<li>" : "<input id='" + options.id + "_" + constraintType + "_" + wms.index + "' " + "type='checkbox' />") +
+				(constraintType === "noPermission" ? "<li>" : "<input id='" + options.id + "_" + constraintType + "_" + wms.index + "' " + "type='checkbox' checked='checked'/>") +
 				wms.title  + "</label><br>";
 				wmsCount++;
 			}



More information about the Mapbender_commits mailing list