From 5e1bb4d786b817081e7d0cb4f736da91e2633c87 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 19 Jan 2016 12:35:43 +0100 Subject: [PATCH] Delete button and check of autosave, because any time save work. Tiquet: #3075 (cherry picked from commit 9cc979e69cc446fd9ef77dd39158ea9eb63123bb) --- pandora_console/include/functions_visual_map_editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_visual_map_editor.php b/pandora_console/include/functions_visual_map_editor.php index fb763f652e..d97d6041a5 100644 --- a/pandora_console/include/functions_visual_map_editor.php +++ b/pandora_console/include/functions_visual_map_editor.php @@ -449,9 +449,9 @@ function visual_map_editor_print_toolbox() { enterprise_hook("enterprise_visual_map_editor_print_toolbox"); - $text_autosave = __('Auto Save') . html_print_checkbox('auto_save', 0, true, true, false, "click_button_toolbox('auto_save');"); + $text_autosave = html_print_input_hidden ('auto_save', true, true); visual_map_print_item_toolbox('auto_save', $text_autosave, 'right'); - visual_map_print_button_editor('save_visualmap', __('Save'), 'right', true, 'save_min', true); + //visual_map_print_button_editor('save_visualmap', __('Save'), 'right', true, 'save_min', true); visual_map_print_button_editor('show_grid', __('Show grid'), 'right', true, 'grid_min', true); visual_map_print_button_editor('edit_item', __('Update item'), 'right', true, 'config_min', true); visual_map_print_button_editor('delete_item', __('Delete item'), 'right', true, 'delete_min', true);