From 3e201471c7f5eb0acf0901e2b422aecedee1ad29 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 11 Aug 2019 21:21:53 +0200 Subject: [PATCH] Cosmetic : Icon_Trash in Todo_List --- include/class/todo_list.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/todo_list.class.php b/include/class/todo_list.class.php index a1b7ba497..e759a3adb 100644 --- a/include/class/todo_list.class.php +++ b/include/class/todo_list.class.php @@ -344,7 +344,7 @@ class Todo_List { // this is a note shared by someone else $r.= ''. - HtmlInput::button('del','X','onClick="todo_list_remove_share('.$this->tl_id.',\''.$this->use_login.'\','.Dossier::id().')"','smallbutton'). + Icon_Action::trash(uniqid(),sprintf("todo_list_remove_share('%s','%s','%s')",$this->tl_id,$this->use_login,Dossier::id())). ''; }