From: Sven Schöling Date: Thu, 20 Oct 2016 09:41:51 +0000 (+0200) Subject: oe: confirm bei delete X-Git-Tag: release-3.5.4~1397 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6f37da929767ec4125492b862d5f17079f9e578d;p=kivitendo-erp.git oe: confirm bei delete --- diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 5c1a1fda2..b6ff56518 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -474,6 +474,7 @@ sub form_header { ]); $bar->add_actions([ t8('Delete'), submit => [ '#form', { action_delete => 1 } ], + confirm => t8('Do you really want to delete this object?'), disabled => !$::form->{id} || ($is_sales_ord && !$::instance_conf->get_sales_order_show_delete) || ($is_pur_ord && !$::instance_conf->get_purchase_order_show_delete),