mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
eliminate a null tag possbility
This commit is contained in:
parent
09e09523af
commit
4a0a737e32
1 changed files with 3 additions and 1 deletions
|
@ -105,6 +105,8 @@ function check_inline_song_edit(type, song) {
|
|||
function showAddTagDialog(id, type, path) {
|
||||
var tagName = window.prompt('Enter Tag:', '');
|
||||
var url = path + '/server/ajax.server.php?page=tag&action=add_tag_by_name&type=' + type + '&object_id=' + id + '&tag_name=' + tagName;
|
||||
if (tagName != null || tagName != '') {
|
||||
ajaxPut(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue