summaryrefslogtreecommitdiff
path: root/lib/gallery.common.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-31 17:21:19 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-31 17:21:19 -0800
commit20bd09ff004816ae152a2f890a24dc5e85741fac (patch)
tree5eb58b7e9cbb23faffb2aeaffe0aff7e87b56918 /lib/gallery.common.js
parenta018e6235f09dd727b07f24801a8f237e07b3260 (diff)
A more thorough fix for #745 and #940. Stop using the referer to
guess how to send the user back. Instead, proxy the originating item id through the edit forms so that we can tell exactly what page we were on when we began editing. If we were viewing the item, then redirect to its new url (in case it changed) to fix ticket #745. But if we were viewing some other item, then just stay on the current page to fix #940. The page_type approach didn't work because you'd have the same "collection" page_type when doing a context menu edit for an album.
Diffstat (limited to 'lib/gallery.common.js')
0 files changed, 0 insertions, 0 deletions