is: delete nur mit show_delete
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 25 Oct 2016 09:14:42 +0000 (11:14 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000 (10:04 +0100)
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');