1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00

initial shot at tagging songs

This commit is contained in:
John Moore 2013-07-25 19:02:44 -05:00
parent fb1f6625d7
commit ed26c1a51a
4 changed files with 870 additions and 1 deletions

View file

@ -101,3 +101,10 @@ function check_inline_song_edit(type, song) {
}
}
// really should be using jquery ui and have something nice looking
function showAddTagDialog(id, type, path) {
var tagName = window.prompt('Enter Tag:', '');
var url = path + '/server/ajax.server.php?action=add_tag_by_name&type=' + type + '&object_id=' + id + '&tag_name=' + tagName;
ajaxPut(path);
}