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] .= ' ' .
html_print_image("images/zoom.png", true, array("class" => 'img_help')) . '';
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;