unfold tree if folder is selected

This commit is contained in:
Uwe Steinmann 2016-02-02 09:41:31 +01:00
parent 51f80c0930
commit a8a86193af

View File

@ -1377,6 +1377,8 @@ $(function() {
$li.find('.jqtree-title').before('<i class="icon-file"></i> ');
}
});
// Unfold tree if folder is opened
$('#jqtree<?php echo $formid ?>').tree('openNode', $('#jqtree<?PHP echo $formid ?>').tree('getNodeById', <?php echo $folderid ?>), false);
$('#jqtree<?= $formid ?>').bind(
'tree.click',
function(event) {