diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-10-01 17:11:14 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-10-01 17:11:14 +0200 |
commit | dac27aab6810473fa020120d348c51dcf93e2d79 (patch) | |
tree | d6f6a337cb02806131c3f74f6217cacee07dbe43 | |
parent | 069a5429c927f072287e4924be18797fa8b2f2a9 (diff) | |
download | volse-hubzilla-dac27aab6810473fa020120d348c51dcf93e2d79.tar.gz volse-hubzilla-dac27aab6810473fa020120d348c51dcf93e2d79.tar.bz2 volse-hubzilla-dac27aab6810473fa020120d348c51dcf93e2d79.zip |
remove logging
-rw-r--r-- | view/js/mod_import_progress.js | 12 |
1 files changed, 0 insertions, 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 + '%'); |