summaryrefslogtreecommitdiff
path: root/lib/gallery.dialog.js
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 /lib/gallery.dialog.js
parent9f396178cedc96abb282e72ff0e843e255c8225a (diff)
Revert "Revert "Allow a theme to override the page refresh mechanism. Create a new""
This reverts commit 9f396178cedc96abb282e72ff0e843e255c8225a.
Diffstat (limited to 'lib/gallery.dialog.js')
-rw-r--r--lib/gallery.dialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index 74c2f20e..0efcf120 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -25,9 +25,9 @@ function ajaxify_dialog() {
}
if (data.result == "success") {
if (data.location) {
- window.location = data.location;
+ $.gallery_location(data.location);
} else {
- window.location.reload();
+ $.gallery_reload();
}
}
}