X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FFile.pm;h=67dfd74ac753c98008fa8845cae64bcf32d0be67;hb=808bfd679e48691da8f0b9bbb8c778ab7805cbda;hp=2572da16bf960087e22f59697daaccdffebf1625;hpb=48baa5ebf4441c31d45d0111a0fe8b88d10a4dcd;p=kivitendo-erp.git diff --git a/SL/Controller/File.pm b/SL/Controller/File.pm index 2572da16b..67dfd74ac 100644 --- a/SL/Controller/File.pm +++ b/SL/Controller/File.pm @@ -462,7 +462,7 @@ sub _mk_render { my $first = shift @{$self->existing}; my ($first_id, $sfile) = split('_', $first, 2); my $file = SL::File->get(id => $first_id ); - $self->js->run('kivi.File.askForRename', $first_id, $file->file_name, $sfile, join (',', @{$self->existing}), $self->is_global); + $self->js->run('kivi.File.askForRename', $first_id, $file->file_type, $file->file_name, $sfile, join (',', @{$self->existing}), $self->is_global); } $self->js->render(); } else {