After deleting a photo, go to root instead of search.

This commit is contained in:
voussoir 2022-10-29 14:17:33 -07:00
parent 328e84b0c7
commit 0a318baea9
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -433,12 +433,12 @@ function add_remove_photo_tag_callback(response)
function delete_photo_form() function delete_photo_form()
{ {
api.photos.delete(PHOTO_ID, false, api.photos.callback_go_to_search); api.photos.delete(PHOTO_ID, false, common.go_to_root);
} }
function delete_photo_from_disk_form() function delete_photo_from_disk_form()
{ {
api.photos.delete(PHOTO_ID, true, api.photos.callback_go_to_search); api.photos.delete(PHOTO_ID, true, common.go_to_root);
} }
function generate_thumbnail_for_video_form() function generate_thumbnail_for_video_form()