oe: confirm bei delete
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 20 Oct 2016 09:41:51 +0000 (11:41 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000 (10:04 +0100)
bin/mozilla/oe.pl

index 5c1a1fd..b6ff565 100644 (file)
@@ -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),