diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-06 07:02:41 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-06 07:02:41 -0700 |
commit | 7bdf382e813515ce7ab6e14f0b8e3e0b7b6bd867 (patch) | |
tree | 2f7ad7575beac7196f8d200c8aaa355efe9d4e77 /lib/gallery.dialog.js | |
parent | 8131e6fa380d52faa7c1dc9a59c2e83a4adb9134 (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.dialog.js')
-rw-r--r-- | lib/gallery.dialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index 0efcf120..74c2f20e 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) { - $.gallery_location(data.location); + window.location = data.location; } else { - $.gallery_reload(); + window.location.reload(); } } } |