ActionBar: Hintergrundjob-Verwaltung: Action heißt destroy, nicht delete.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 14 Mar 2017 21:08:25 +0000 (22:08 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 14 Mar 2017 21:08:25 +0000 (22:08 +0100)
SL/Controller/BackgroundJob.pm

index 33da8b1..37f2d97 100644 (file)
@@ -229,7 +229,7 @@ sub setup_form_action_bar {
 
       action => [
         t8('Delete'),
-        submit   => [ '#form', { action => 'BackgroundJob/delete' } ],
+        submit   => [ '#form', { action => 'BackgroundJob/destroy' } ],
         confirm  => t8('Do you really want to delete this object?'),
         disabled => $is_new ? t8('This object has not been saved yet.') : undef,
       ],