mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 11:40:43 -04:00
Fix for ticket #590. The gallery.dialog.js looks for an element "#dialog #gProgress" and if it finds it assumes that it is a progress dialog and removes the title. This pathc changes the name of the div containing the progress bar to gServerAddProgress and avoids the issue.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
This commit is contained in:
@@ -52,7 +52,7 @@ function run_add(url) {
|
||||
$("#gStatus").html(data.status);
|
||||
$("#gServerAdd .gProgressBar").progressbar("value", data.percent_complete);
|
||||
if (data.done) {
|
||||
$("#gProgress").slideUp();
|
||||
$("#gServerAddProgress").slideUp();
|
||||
} else {
|
||||
setTimeout(function() { run_add(url); }, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user