is: delete nur mit show_delete
[kivitendo-erp.git] / bin / mozilla / is.pl
index b5ce917..3f0f15d 100644 (file)
@@ -397,7 +397,7 @@ sub form_header {
       confirm => t8('Do you really want to delete this object?'),
       checks => [ @req_trans_desc ],
       disabled => !$::form->{id},
-    ]);
+    ]) if $show_delete;
     $bar->add_actions('separator');
 
     $bar->add_actions('combobox');