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:
parent
fb1f6625d7
commit
ed26c1a51a
4 changed files with 870 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue