Fixed the subtree load after login into Pandora FMS. Fixes the ticket #1467

This commit is contained in:
Alejandro Gallardo Escobar 2014-10-17 17:29:54 +02:00
parent fc2e9cc698
commit 0a72ae3032
1 changed files with 11 additions and 2 deletions

View File

@ -712,8 +712,17 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri
$.ajax({
type: "POST",
url: <?php echo '"' . ui_get_full_url("ajax.php", false, false, false) . '"'; ?>,
data: "page=<?php echo $_GET['sec2']; ?>&ajax_treeview=1&type=" +
type + "&id=" + div_id + "&less_branchs=" + less_branchs + "&id_father=" + id_father + "&status=" + status + "&search_free=" + search_free + "&server_name=" + server_name,
data: {
"page": "operation/tree",
"ajax_treeview": 1,
"type": type,
"id": div_id,
"less_branchs": less_branchs,
"id_father": id_father,
"status": status,
"search_free": search_free,
"server_name": server_name
},
success: function(msg) {
if (msg.length != 0) {
$('#tree_div'+id_father+'_'+type+'_'+div_id).hide();