mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed performance problems
This commit is contained in:
parent
ab183612c6
commit
1ee24764e6
@ -64,7 +64,7 @@ TreeController = {
|
|||||||
firstNode = rootGroup && index == 0 ? true : false;
|
firstNode = rootGroup && index == 0 ? true : false;
|
||||||
element.jqObject = _processNode($group, element, lastNode, firstNode);
|
element.jqObject = _processNode($group, element, lastNode, firstNode);
|
||||||
}, $group);
|
}, $group);
|
||||||
|
|
||||||
return $group;
|
return $group;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -284,9 +284,6 @@ TreeController = {
|
|||||||
|
|
||||||
// $content.append($counters);
|
// $content.append($counters);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// Add again the hover event to the 'force_callback' elements
|
|
||||||
forced_title_callback();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load leaf
|
// Load leaf
|
||||||
@ -471,6 +468,9 @@ TreeController = {
|
|||||||
$children.show();
|
$children.show();
|
||||||
|
|
||||||
controller.recipient.data('children', $children);
|
controller.recipient.data('children', $children);
|
||||||
|
|
||||||
|
// Add again the hover event to the 'force_callback' elements
|
||||||
|
forced_title_callback();
|
||||||
},
|
},
|
||||||
load: function () {
|
load: function () {
|
||||||
this.reload();
|
this.reload();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user