mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
unfold tree if folder is selected
This commit is contained in:
parent
51f80c0930
commit
a8a86193af
|
@ -1376,7 +1376,9 @@ $(function() {
|
||||||
else
|
else
|
||||||
$li.find('.jqtree-title').before('<i class="icon-file"></i> ');
|
$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(
|
$('#jqtree<?= $formid ?>').bind(
|
||||||
'tree.click',
|
'tree.click',
|
||||||
function(event) {
|
function(event) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user