From b7b33a63ee079a3e2c06cd5f1da1e3e5f5872598 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 12 Jan 2020 14:36:48 -0800 Subject: [PATCH] Rename receive_callback -> add_remove_photo_tag_callback. --- frontends/etiquette_flask/templates/photo.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index cf96343..138d801 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -248,16 +248,16 @@ function add_photo_tag_form() { return; } - api.photos.add_tag(PHOTO_ID, tagname, receive_callback); + api.photos.add_tag(PHOTO_ID, tagname, add_remove_photo_tag_callback); add_tag_box.value = ""; } function remove_photo_tag_form(photo_id, tagname) { - api.photos.remove_tag(photo_id, tagname, receive_callback); + api.photos.remove_tag(photo_id, tagname, add_remove_photo_tag_callback); } -function receive_callback(response) +function add_remove_photo_tag_callback(response) { var message_text; var message_positivity;