mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
New maps in progress... (test context menus)
This commit is contained in:
parent
39a9ef4c28
commit
73b16c177e
@ -157,6 +157,19 @@ if (is_ajax ()) {
|
|||||||
$data_graph_id = (int)get_parameter('data_graph_id');
|
$data_graph_id = (int)get_parameter('data_graph_id');
|
||||||
$node_id = get_parameter('node_id');
|
$node_id = get_parameter('node_id');
|
||||||
|
|
||||||
|
ob_start();
|
||||||
|
?>
|
||||||
|
<div id="tooltip_{data_graph_id}">
|
||||||
|
<div class="title_bar">
|
||||||
|
<span class="title">{title}</span>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
{body}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
$details = ob_get_clean();
|
||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case ITEM_TYPE_AGENT_NETWORKMAP:
|
case ITEM_TYPE_AGENT_NETWORKMAP:
|
||||||
$details = str_replace(
|
$details = str_replace(
|
||||||
|
@ -539,7 +539,7 @@ MapController.prototype.nodeGetDetails = function(data_id, type, id_map, data_gr
|
|||||||
type: "POST",
|
type: "POST",
|
||||||
url: "ajax.php",
|
url: "ajax.php",
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
window.open(data);
|
console.log(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user