From dac27aab6810473fa020120d348c51dcf93e2d79 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 1 Oct 2021 17:11:14 +0200 Subject: remove logging --- view/js/mod_import_progress.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/view/js/mod_import_progress.js b/view/js/mod_import_progress.js index 69e4c5242..acfb78de8 100644 --- a/view/js/mod_import_progress.js +++ b/view/js/mod_import_progress.js @@ -1,25 +1,13 @@ $(document).ready(function() { - - console.log('import_progress'); - setInterval(get_progress, 5000); - function get_progress(){ - console.log('get'); - $.get('import_progress', function(data) { update_progress(data); }); } function update_progress(data){ - console.log('update'); - console.log(data); - console.log(data.cprogress); - console.log(data.fprogress); - - if (typeof data.cprogress == 'number') { $('#cprogress-label').html(data.cprogress + '%'); $('#cprogress-bar').css('width', data.cprogress + '%'); -- cgit v1.2.3