mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Error fixes
This commit is contained in:
parent
09bf3a6e34
commit
32952e1714
@ -492,7 +492,7 @@ TreeController = {
|
|||||||
},
|
},
|
||||||
success: function(data, textStatus, xhr) {
|
success: function(data, textStatus, xhr) {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
var $group = $node.find("ul.tree-group");
|
var $group = $node.children("ul.tree-group");
|
||||||
|
|
||||||
if ((typeof data.tree != 'undefined' && data.tree.length > 0) || $group.length > 0) {
|
if ((typeof data.tree != 'undefined' && data.tree.length > 0) || $group.length > 0) {
|
||||||
$node.addClass("leaf-open");
|
$node.addClass("leaf-open");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user