]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/csv_import/_deferred_report.html
Csv-Import: Report nicht laden, wenn keine Report-Id vorhanden ist.
[mfinanz.git] / templates / webpages / csv_import / _deferred_report.html
index b7e5dd4b66feb0ee7701dcaa7e7716a176aac181..d4fde088525bd3e88f08acca630a9c6cce4c0b6a 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 %]
   });