mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 10:19:25 +02:00
Add FadeIn on Add New Artist/Album selection
This commit is contained in:
parent
45d7ed9226
commit
e99183549c
1 changed files with 3 additions and 1 deletions
|
@ -309,7 +309,9 @@ $(window).resize(function() {
|
|||
function check_inline_song_edit(type, song) {
|
||||
var source = '#' + type + '_select_' + song;
|
||||
if ($(source + ' option:selected').val() == -1) {
|
||||
$(source).replaceWith('<input type="text" name="' + type + '_name" value="New ' + type + '" onclick="this.select();" />');
|
||||
$(source).fadeOut(600, function() {
|
||||
$(this).replaceWith('<input type="text" name="' + type + '_name" value="New ' + type + '" onclick="this.select();" />');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue