projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd97f9f
)
Hintergrundjobs: bei »als neu verwenden« aktuelle Formularwerte übernehmen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 23 May 2017 12:54:47 +0000
(14:54 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 23 May 2017 12:56:29 +0000
(14:56 +0200)
SL/Controller/BackgroundJob.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/BackgroundJob.pm
b/SL/Controller/BackgroundJob.pm
index
1e73e1e
..
7e16a17
100644
(file)
--- a/
SL/Controller/BackgroundJob.pm
+++ b/
SL/Controller/BackgroundJob.pm
@@
-55,7
+55,8
@@
sub action_edit {
sub action_edit_as_new {
my ($self) = @_;
- $self->background_job($self->background_job->clone_and_reset);
+ delete $::form->{background_job}->{id};
+ $self->background_job(SL::DB::BackgroundJob->new(%{ $::form->{background_job} }));
$self->action_new;
}