summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-28 20:49:50 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-28 20:49:50 -0700
commit3461b4e8e65791ae4e01fd45da5df76a9a929dbf (patch)
tree0523422be804d8b6b62f71625796dabc0cf02f72 /modules/gallery/views
parent2d770f1d2784f5559c3ca892c6cfd8db381f2854 (diff)
parent30586236a5b6c71542a02fa13a0018ff4da6eb19 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/admin_maintenance_task.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index b0d99425..534cac82 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -10,6 +10,9 @@
if (target_value - current_value > delta) {
delta += .075;
}
+ if (target_value == 100) {
+ new_value = 100;
+ }
$(".gProgressBar").progressbar("value", new_value);
animation = setTimeout(function() { animate_progress_bar(target_value); }, 100);
} else {