Fixed performance problems

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-02 09:09:56 +01:00
parent ab183612c6
commit 1ee24764e6

View File

@ -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();