From 4182d6e3346d64f1dd04753070ba6af02d71774a Mon Sep 17 00:00:00 2001 From: Jorge Rincon <jorge.rincon@pandorafms.com> Date: Tue, 16 May 2023 12:19:20 +0200 Subject: [PATCH] #11191 functionality is given to the Add button --- pandora_console/include/functions_notifications.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pandora_console/include/functions_notifications.php b/pandora_console/include/functions_notifications.php index eab3ff5067..d7d6af962b 100644 --- a/pandora_console/include/functions_notifications.php +++ b/pandora_console/include/functions_notifications.php @@ -931,7 +931,7 @@ function notifications_print_two_ways_select($info_selec, $users, $source_id) true, [ 'title' => __('Add elements'), - 'style' => 'rotate: 90deg', + 'style' => 'rotate: 180deg', 'onclick' => sprintf( "notifications_modify_two_ways_element('%s', '%s', 'add')", $users, @@ -970,11 +970,7 @@ function notifications_print_two_ways_select($info_selec, $users, $source_id) __('Add'), 'Add', false, - sprintf( - "notifications_add_source_element_to_database('%s', '%s')", - $users, - $source_id - ), + 'notifications_add_source_element_to_database("'.$users.'",'.$source_id.')', "class='sub add'", true )