From: Moritz Bunkus Date: Mon, 4 Feb 2013 10:19:23 +0000 (+0100) Subject: Refactoring render-Parameter: Reste zu 7647d46 X-Git-Tag: release-3.1.0beta1~647 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=370c1135939a2e91a1611d938d2b2b9555aec0bc;p=kivitendo-erp.git Refactoring render-Parameter: Reste zu 7647d46 --- diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index e38eb655c..dda08821f 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -100,7 +100,7 @@ sub action_result { } if ($data->{progress}{finished} || $data->{errors}) { - $self->render('csv_import/_deferred_report', { no_layout => 1 }); + $self->render('csv_import/_deferred_report', { layout => 0 }); } else { if (!$self->task_server->is_running) { $self->task_server->start; @@ -111,7 +111,7 @@ sub action_result { $self->{status_text} = t8('Import not started yet, please wait...'); } - $self->render('csv_import/_deferred_results', { no_layout => 1 }); + $self->render('csv_import/_deferred_results', { layout => 0 }); } } @@ -184,7 +184,7 @@ sub action_report { $self->{pages} = $pages; $self->{base_url} = $self->url_for(action => 'report', id => $report_id, no_layout => $params{no_layout} || $::form->{no_layout} ); - $self->render('csv_import/report', { no_layout => $params{no_layout} || $::form->{no_layout} }); + $self->render('csv_import/report', { layout => !($params{no_layout} || $::form->{no_layout}) }); }