summaryrefslogtreecommitdiff
path: root/modules/gallery/js/quick.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 /modules/gallery/js/quick.js
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/js/quick.js')
-rw-r--r--modules/gallery/js/quick.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index fda6470f..4753808e 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -67,9 +67,9 @@ var quick_do = function(cont, pane, img) {
img.css("margin-top", 0);
}
} else if (data.location) {
- window.location = data.location;
+ $.gallery_location(data.location);
} else if (data.reload) {
- window.location.reload();
+ $.gallery_reload();
}
}
});