Spezifisches Recht für CSV-Import(2)
[kivitendo-erp.git] / templates / webpages / csv_import / _deferred_report.html
index b7e5dd4..d4fde08 100644 (file)
@@ -19,7 +19,9 @@
   }
 
   $(document).ready(function(){
-    get_report('#csv_import_report', 'controller.pl', { action: 'CsvImport/report', 'no_layout': 1, 'id': [% SELF.background_job.data_as_hash.report_id %] });
+    [%- IF SELF.background_job.data_as_hash.report_id %]
+      get_report('#csv_import_report', 'controller.pl', { action: 'CsvImport/report', 'no_layout': 1, 'id': [% SELF.background_job.data_as_hash.report_id %] });
+    [%- END %]
   });