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())). ''; }