Remove unused code for add-tag-to-all of album.
I'll put it back when I actually make it work.
This commit is contained in:
parent
c88654346b
commit
956c55ac9a
2 changed files with 0 additions and 14 deletions
|
@ -12,14 +12,6 @@ function create_message_bubble(message_area, message_positivity, message_text, l
|
||||||
message_area.appendChild(message);
|
message_area.appendChild(message);
|
||||||
setTimeout(function(){message_area.removeChild(message);}, lifespan);
|
setTimeout(function(){message_area.removeChild(message);}, lifespan);
|
||||||
}
|
}
|
||||||
function add_album_tag(albumid, tagname, callback)
|
|
||||||
{
|
|
||||||
if (tagname === ""){return}
|
|
||||||
var url = "/album/" + albumid;
|
|
||||||
data = new FormData();
|
|
||||||
data.append("add_tag", tagname);
|
|
||||||
return post(url, data, callback);
|
|
||||||
}
|
|
||||||
|
|
||||||
function post(url, data, callback)
|
function post(url, data, callback)
|
||||||
{
|
{
|
||||||
|
|
|
@ -140,12 +140,6 @@ bind_box_to_button(description_editor_box, save_button, ctrl_enter);
|
||||||
var title_is_blank = {{ (album.title == '')|int }};
|
var title_is_blank = {{ (album.title == '')|int }};
|
||||||
var blank_title_text = "Album {{album.id}}";
|
var blank_title_text = "Album {{album.id}}";
|
||||||
|
|
||||||
function submit_tag(callback)
|
|
||||||
{
|
|
||||||
add_photo_tag('{{album.id}}', add_tag_box.value, callback);
|
|
||||||
add_tag_box.value = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
function show_editor()
|
function show_editor()
|
||||||
{
|
{
|
||||||
edit_button.classList.add("hidden");
|
edit_button.classList.add("hidden");
|
||||||
|
|
Loading…
Reference in a new issue