diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index a16e5e5..70f38db 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -433,12 +433,12 @@ function add_remove_photo_tag_callback(response) 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() { - 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()