mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
changing the now playing tagger to a slide out
This commit is contained in:
parent
f4d7b64fd0
commit
4f6efeb157
2 changed files with 14 additions and 6 deletions
|
@ -88,7 +88,11 @@ function check_inline_song_edit(type, song) {
|
|||
}
|
||||
|
||||
function showAddTagSlideout(elm) {
|
||||
$(elm).show(500, 'slide');
|
||||
$(elm).show('slide', 500);
|
||||
}
|
||||
|
||||
function closeAddTagSlideout(elm) {
|
||||
$(elm).hide('slide', 500);
|
||||
}
|
||||
|
||||
function saveTag(id, type, path) {
|
||||
|
@ -97,7 +101,8 @@ function saveTag(id, type, path) {
|
|||
ajaxPut(path + '/server/ajax.server.php?page=tag&action=add_tag_by_name&type=' + type + '&object_id=' + id + '&tag_name=' + tagName);
|
||||
}
|
||||
$('#dialog_tag_item_tag_name').val('');
|
||||
$(this).parent().hide(500, 'slide');
|
||||
$('#dialog_tag_item_' + id).hide('slide', 500);
|
||||
$('#np_song_tags_' + id).append('<a href="javascript:void(0);" class="hover-remove tag_size2">' + tagName + '</a>')
|
||||
}
|
||||
|
||||
function showAddTagDialog(id, type, path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue