1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

handle empty artists

This commit is contained in:
Luke 2015-06-07 15:24:45 -04:00
parent 5f45adbf56
commit db61c30557

View file

@ -808,7 +808,11 @@
function getAlbumArtists(form) {
return $('#txtAlbumArtist', form).val().split(';').map(function (a) {
return $('#txtAlbumArtist', form).val().trim().split(';').filter(function(s){
return s.length > 0;
}).map(function (a) {
return {
Name: a
@ -818,7 +822,11 @@
function getArtists(form) {
return $('#txtArtist', form).val().split(';').map(function (a) {
return $('#txtArtist', form).val().trim().split(';').filter(function(s){
return s.length > 0;
}).map(function (a) {
return {
Name: a