From 54465df27170193f7dd5f935bb99c03a3beb1eb3 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Thu, 21 Apr 2016 13:06:57 +0200 Subject: [PATCH] New maps in progress... (Added parameters to update node size) --- pandora_console/include/ajax/map.ajax.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/map.ajax.php b/pandora_console/include/ajax/map.ajax.php index 43889ddd33..ee951170a7 100644 --- a/pandora_console/include/ajax/map.ajax.php +++ b/pandora_console/include/ajax/map.ajax.php @@ -82,8 +82,10 @@ if (is_ajax ()) { $id_node_data = (int)get_parameter('id_node_data'); $new_width = (int)get_parameter('new_width'); $new_height = (int)get_parameter('new_height'); + $new_pos_x = (int)get_parameter('new_pos_x'); + $new_pos_y = (int)get_parameter('new_pos_y'); - $result_update_size = networkmap_enterprise_update_size($id_node_data, $new_width, $new_height); + $result_update_size = networkmap_enterprise_update_size($id_node_data, $new_width, $new_height, $new_pos_x, $new_pos_y); echo json_encode($result_update_size); return;