[Mapbender-commits] r9556 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Aug 11 00:22:27 PDT 2016
Author: verenadiewald
Date: 2016-08-11 00:22:27 -0700 (Thu, 11 Aug 2016)
New Revision: 9556
Modified:
trunk/mapbender/http/plugins/mb_metadata_layerTree.js
Log:
layer_searchable in layerTree: Get all sublayers searchable state if parent layer is checked
Modified: trunk/mapbender/http/plugins/mb_metadata_layerTree.js
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_layerTree.js 2016-08-10 15:12:34 UTC (rev 9555)
+++ trunk/mapbender/http/plugins/mb_metadata_layerTree.js 2016-08-11 07:22:27 UTC (rev 9556)
@@ -162,7 +162,8 @@
}
};
- var $checked = $("#" + instanceId).jstree("get_checked");
+ //Bugfix VD 20160729: Finde bei aktiviertem root-Layer auch sauber alle layer_searchable-Infos der child layer
+ $checked = $("#" + instanceId).find(".jstree-checked");
$checked.each(function () {
var metadata = $(this).metadata({
type: "attr",
More information about the Mapbender_commits
mailing list