aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_import_progress.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_import_progress.js')
-rw-r--r--view/js/mod_import_progress.js12
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 + '%');