mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Fixed the subtree load after login into Pandora FMS. Fixes the ticket #1467
This commit is contained in:
parent
fc2e9cc698
commit
0a72ae3032
@ -712,8 +712,17 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: <?php echo '"' . ui_get_full_url("ajax.php", false, false, false) . '"'; ?>,
|
url: <?php echo '"' . ui_get_full_url("ajax.php", false, false, false) . '"'; ?>,
|
||||||
data: "page=<?php echo $_GET['sec2']; ?>&ajax_treeview=1&type=" +
|
data: {
|
||||||
type + "&id=" + div_id + "&less_branchs=" + less_branchs + "&id_father=" + id_father + "&status=" + status + "&search_free=" + search_free + "&server_name=" + server_name,
|
"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) {
|
success: function(msg) {
|
||||||
if (msg.length != 0) {
|
if (msg.length != 0) {
|
||||||
$('#tree_div'+id_father+'_'+type+'_'+div_id).hide();
|
$('#tree_div'+id_father+'_'+type+'_'+div_id).hide();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user