diff --git a/pandora_console/operation/tree2.php b/pandora_console/operation/tree2.php index 3e12011356..34ffbb1e02 100644 --- a/pandora_console/operation/tree2.php +++ b/pandora_console/operation/tree2.php @@ -143,6 +143,10 @@ echo ""; }); function processTreeSearch () { + // Clear the tree + if (typeof treeController.recipient != 'undefined' && treeController.recipient.length > 0) + treeController.recipient.empty(); + $(".loading_tree").show(); var parameters = {};