Now the tree dissapear when a new search is done

This commit is contained in:
Alejandro Gallardo Escobar 2014-12-18 11:50:11 +01:00
parent bb1a0ecd23
commit b29783f6fe
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ echo "</div>";
});
function processTreeSearch () {
// Clear the tree
if (typeof treeController.recipient != 'undefined' && treeController.recipient.length > 0)
treeController.recipient.empty();
$(".loading_tree").show();
var parameters = {};