mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
unfold tree if folder is selected
This commit is contained in:
parent
51f80c0930
commit
a8a86193af
|
@ -1376,7 +1376,9 @@ $(function() {
|
|||
else
|
||||
$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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user