richtigen progress anzeigen
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 15 Nov 2012 14:10:25 +0000 (15:10 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 11 Jan 2013 12:56:58 +0000 (13:56 +0100)
templates/webpages/csv_import/_deferred_results.html

index e422347..f4267b3 100644 (file)
@@ -14,8 +14,8 @@
     });
   }
   $(document).ready(function(){
-    $('#progressbar').progressbar({ value: [% progress * 1 %] });
-    window.setTimeout(reload_results, 2000);
+    $('#progressbar').progressbar({ value: [% SELF.background_job.data_as_hash.progress * 1 %] });
+    window.setTimeout(reload_results, 100);
   })
 </script>
 [% END %]