summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-05 10:25:23 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-05 10:25:23 -0700
commit7b1cca168cb9b29fcccdcdce9e32efb190e4575e (patch)
tree1dd6668463cecb755325f0644945897bdbe98423 /modules/gallery/views
parent9f396178cedc96abb282e72ff0e843e255c8225a (diff)
Revert "Revert "Allow a theme to override the page refresh mechanism. Create a new""
This reverts commit 9f396178cedc96abb282e72ff0e843e255c8225a.
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/admin_maintenance_show_log.html.php2
-rw-r--r--modules/gallery/views/admin_maintenance_task.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_maintenance_show_log.html.php b/modules/gallery/views/admin_maintenance_show_log.html.php
index 9d850986..ac593de7 100644
--- a/modules/gallery/views/admin_maintenance_show_log.html.php
+++ b/modules/gallery/views/admin_maintenance_show_log.html.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
dismiss = function() {
- window.location.reload();
+ $.gallery_reload();
}
download = function(){
// send request
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index 0eb0b38c..6ab87e3f 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -47,7 +47,7 @@
$(".gProgressBar").progressbar({value: 0});
update();
dismiss = function() {
- window.location.reload();
+ $.gallery_reload();
}
</script>
<div id="gProgress">