summaryrefslogtreecommitdiff
path: root/lib/gallery.panel.js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-06 07:02:41 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-06 07:02:41 -0700
commit7bdf382e813515ce7ab6e14f0b8e3e0b7b6bd867 (patch)
tree2f7ad7575beac7196f8d200c8aaa355efe9d4e77 /lib/gallery.panel.js
parent8131e6fa380d52faa7c1dc9a59c2e83a4adb9134 (diff)
Revert "Revert "Revert "Allow a theme to override the page refresh mechanism. Create a new"""
This reverts commit 7b1cca168cb9b29fcccdcdce9e32efb190e4575e. Basically remove it and Bharat and I will fight it out in SF for a resolution :-)
Diffstat (limited to 'lib/gallery.panel.js')
-rw-r--r--lib/gallery.panel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.panel.js b/lib/gallery.panel.js
index 26be11ad..022e4878 100644
--- a/lib/gallery.panel.js
+++ b/lib/gallery.panel.js
@@ -40,9 +40,9 @@ function togglePanel(element, on_success) {
if (on_success) {
on_success();
} else if (data.location) {
- $.gallery_location(data.location);
+ window.location = data.location;
} else {
- $.gallery_reload();
+ window.location.reload();
}
}
}