From e1e1a04be1494931dd1c1b83e39fab41f69e629c Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Wed, 9 Dec 2015 12:02:43 +0100 Subject: [PATCH] Added a text in lines creation (advanced options). Ticket#3043 --- .../godmode/reporting/visual_console_builder.editor.js | 3 +++ pandora_console/include/functions_visual_map_editor.php | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index d5fdd6a6a8..ac70ba37c7 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1055,6 +1055,9 @@ function hiddenFields(item) { $("#line_width_row").css('display', 'none'); $("#line_width_row." + item).css('display', ''); + $("#line_case").css('display', 'none'); + $("#line_case." + item).css('display', ''); + diff --git a/pandora_console/include/functions_visual_map_editor.php b/pandora_console/include/functions_visual_map_editor.php index 48ffd55abd..7aaf1fa7f9 100755 --- a/pandora_console/include/functions_visual_map_editor.php +++ b/pandora_console/include/functions_visual_map_editor.php @@ -507,7 +507,12 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) { FROM tlayout WHERE id != ' . $visualConsole_id, 'map_linked', '', '', 'None', '0', true) . ''; - + + $form_items_advance['line_case']['items'] = array('line_item'); + $form_items_advance['line_case']['html'] = ' + ' . __('Lines haven\'t advanced options') . ''; + + //Insert and modify before the buttons to create or update. if (enterprise_installed()) { enterprise_visual_map_editor_modify_form_items_advance_palette($form_items_advance);