1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

its ugly and we need some serious jquery UI niceness but we are tagging!!

This commit is contained in:
John Moore 2013-07-25 20:16:23 -05:00
parent ed26c1a51a
commit 3b8d0f3430
5 changed files with 14 additions and 9 deletions

View file

@ -104,7 +104,9 @@ 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);
var url = path + '/server/ajax.server.php?page=tag&action=add_tag_by_name&type=' + type + '&object_id=' + id + '&tag_name=' + tagName;
alert(url);
ajaxPut(url);
}