mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Hide the old tree when loading a new filtered tree
This commit is contained in:
parent
96f6659b34
commit
82851e146b
@ -123,15 +123,15 @@ echo '</form>';
|
||||
// --------------------- form filter -----------------------------------
|
||||
|
||||
ui_require_javascript_file("TreeController", "include/javascript/tree/");
|
||||
html_print_image('images/spinner.gif', false, array('class' => "loading_tree"));
|
||||
html_print_image('images/spinner.gif', false,
|
||||
array('class' => "loading_tree",
|
||||
'style' => 'display: none;'));
|
||||
echo "<div id='tree-controller-recipient'>";
|
||||
echo "</div>";
|
||||
echo "<div id='tree-controller-detail-recipient'>";
|
||||
echo "</div>";
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$(".loading_tree").hide();
|
||||
|
||||
var treeController = TreeController.getController();
|
||||
|
||||
processTreeSearch();
|
||||
@ -143,6 +143,7 @@ echo "</div>";
|
||||
});
|
||||
|
||||
function processTreeSearch () {
|
||||
$("#tree-controller-recipient").empty();
|
||||
$(".loading_tree").show();
|
||||
|
||||
var parameters = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user