From 0023caf6ea9839aba13b9d36af136aeabb654b2d Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 2 Feb 2015 19:53:08 +0100 Subject: [PATCH] Fixed an error that prevented the creation of a template when a template was selected --- pandora_console/godmode/alerts/alert_list.builder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/alerts/alert_list.builder.php b/pandora_console/godmode/alerts/alert_list.builder.php index 623caee7b2..9aa19cf753 100644 --- a/pandora_console/godmode/alerts/alert_list.builder.php +++ b/pandora_console/godmode/alerts/alert_list.builder.php @@ -92,8 +92,8 @@ $table->data[1][1] = html_print_select (index_array ($templates, 'id', 'name'), $table->data[1][1] .= ' '; if (check_acl ($config['id_user'], 0, "LM")) { - $table->data[1][1] .= html_print_image ('images/add.png', true); $table->data[1][1] .= ''; + $table->data[1][1] .= html_print_image ('images/add.png', true); $table->data[1][1] .= __('Create Template'); $table->data[1][1] .= ''; } @@ -160,7 +160,7 @@ $(document).ready (function () { $("select#template").change (function () { id = this.value; - $a = $(this).siblings ("a"); + $a = $(this).siblings ("a.template_details"); if (id == 0) { $a.hide (); return;