From 855eadb92fc4b63a8a46004e1c59f0b221e72330 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 21 Feb 2009 16:54:23 +0000 Subject: Standardize the html id of the progress bar to gProgressBar --- modules/local_import/js/local_import.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/local_import/js') diff --git a/modules/local_import/js/local_import.js b/modules/local_import/js/local_import.js index 8118e20d..8fadf926 100644 --- a/modules/local_import/js/local_import.js +++ b/modules/local_import/js/local_import.js @@ -42,8 +42,8 @@ function load_children(path, callback) { function do_import(submit, event) { event.preventDefault(); - $("#gImportProgress").progressbar('value', 0); - $("#gImportProgress").css("visibility", "visible"); + $("#gProgressBar").progressbar('value', 0); + $("#gProgressBar").css("visibility", "visible"); var check_list = $("#gLocalImport .gFile :checkbox[checked]"); var current = 0; var csrf = $("#gLocalImport form :hidden[name='csrf']")[0].value; @@ -53,7 +53,7 @@ function do_import(submit, event) { $.post(url, {csrf: csrf, path: path}, function(data, status) { }); current++; - $("#gImportProgress").progressbar('value', current / check_list.length * 100); + $("#gProgressBar").progressbar('value', current / check_list.length * 100); }); document.location.reload(); return false; -- cgit v1.2.3