1
0
Fork 0
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:
Afterster 2015-04-18 21:50:32 +02:00
parent 45d7ed9226
commit e99183549c

View file

@ -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();" />');
});
}
}