mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Working in the enterprise holding area.
This commit is contained in:
parent
8faf1079fd
commit
f9ca419aa9
@ -68,11 +68,16 @@ if (is_ajax ()) {
|
|||||||
|
|
||||||
if ($update_node_position) {
|
if ($update_node_position) {
|
||||||
$id_node_data = (int)get_parameter('id_node_data');
|
$id_node_data = (int)get_parameter('id_node_data');
|
||||||
|
$exit_holding_area = (bool)get_parameter('exit_holding_area');
|
||||||
$new_pos_x = (int)get_parameter('new_pos_x');
|
$new_pos_x = (int)get_parameter('new_pos_x');
|
||||||
$new_pos_y = (int)get_parameter('new_pos_y');
|
$new_pos_y = (int)get_parameter('new_pos_y');
|
||||||
|
|
||||||
$result_update_position = networkmap_enterprise_update_position($id_node_data, $new_pos_x, $new_pos_y);
|
$result_update_position = networkmap_enterprise_update_position($id_node_data, $new_pos_x, $new_pos_y);
|
||||||
|
|
||||||
|
if ($exit_holding_area) {
|
||||||
|
networkmap_enterprise_exit_holding_area($id_node_data);
|
||||||
|
}
|
||||||
|
|
||||||
echo json_encode($result_update_position);
|
echo json_encode($result_update_position);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user