Merge branch 'ent-13891-problemas-con-dashboards' into 'develop'
fix dashboard hash autogenerate pandora_enterprise#13891 See merge request artica/pandorafms!7448
This commit is contained in:
commit
2715e246b2
|
@ -173,7 +173,7 @@ function d3_sunburst_graph($data, $width=700, $height=700, $return=false, $toolt
|
|||
$output = "<div id=\"sunburst\" style='overflow: hidden;'></div>";
|
||||
$output .= include_javascript_d3(true);
|
||||
$output .= '<style type="text/css">
|
||||
path {
|
||||
'.$id_container.' path {
|
||||
stroke: #fff;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
|
@ -384,7 +384,7 @@ function ux_console_phases_donut(
|
|||
$output = '<div id='.$recipient_name." style='overflow: hidden;'></div>";
|
||||
$output .= include_javascript_d3(true);
|
||||
$output .= '<style type="text/css">
|
||||
path {
|
||||
'.$recipient_name_to_js.' path {
|
||||
stroke: #fff;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
|
@ -513,7 +513,7 @@ function d3_donut_graph($id, $width, $height, $module_data, $resume_color)
|
|||
$output .= '<div id='.$recipient_name." style='overflow: hidden;'></div>";
|
||||
$output .= include_javascript_d3(true);
|
||||
$output .= '<style type="text/css">
|
||||
path {
|
||||
'.$recipient_name_to_js.' path {
|
||||
stroke: #fff;
|
||||
fill-rule: evenodd;
|
||||
}
|
||||
|
|
|
@ -490,7 +490,7 @@ class NetworkMapWidget extends Widget
|
|||
'zoom_dash' => $zoom_dash,
|
||||
'id_user' => $config['id_user'],
|
||||
'auth_class' => 'PandoraFMS\Dashboard\Manager',
|
||||
'auth_hash' => Manager::generatePublicHash(),
|
||||
'auth_hash' => get_parameter('auth_hash', ''),
|
||||
'node' => $node,
|
||||
'size' => $size,
|
||||
]
|
||||
|
|
|
@ -669,7 +669,7 @@ class TreeViewWidget extends Widget
|
|||
'page' => 'include/ajax/tree.ajax',
|
||||
'id_user' => $config['id_user'],
|
||||
'auth_class' => 'PandoraFMS\Dashboard\Manager',
|
||||
'auth_hash' => Manager::generatePublicHash(),
|
||||
'auth_hash' => get_parameter('auth_hash', ''),
|
||||
'type' => $tab,
|
||||
'cellId' => $id_cell,
|
||||
'ajaxUrl' => ui_get_full_url('ajax.php', false, false, false),
|
||||
|
|
|
@ -347,7 +347,7 @@ class WuxStatsWidget extends Widget
|
|||
'view_all_stats' => $view_all_stats,
|
||||
'id_user' => $config['id_user'],
|
||||
'auth_class' => 'PandoraFMS\Dashboard\Manager',
|
||||
'auth_hash' => Manager::generatePublicHash(),
|
||||
'auth_hash' => get_parameter('auth_hash', ''),
|
||||
'cellId' => $this->cellId,
|
||||
]
|
||||
);
|
||||
|
|
|
@ -41,9 +41,9 @@ if (empty($dashboardId)) {
|
|||
}
|
||||
|
||||
$queryFull = [
|
||||
'refr' => $refr,
|
||||
'pure' => 1,
|
||||
'hash' => $hash,
|
||||
'dashboardId' => $dashboardId,
|
||||
'refr' => $refr,
|
||||
'pure' => 1,
|
||||
];
|
||||
$urlFull = $url.'&'.http_build_query($queryFull);
|
||||
$fullscreen['text'] = '<a id="full_screen_link" href="'.$urlFull.'">';
|
||||
|
|
Loading…
Reference in New Issue