Small changes for #32

pull/140/head
tidusjar 9 years ago
parent a686832e3f
commit f2ba56f131

@ -523,9 +523,7 @@ function buildRequestContext(result, type) {
coverArtUrl: result.coverArtUrl,
qualities: result.qualities,
hasQualities: result.qualities && result.qualities.length > 0,
coverArtUrl: result.coverArtUrl,
qualities: result.qualities,
hasQualities: result.qualities && result.qualities.length > 0
artist: result.artistName
};
return context;

@ -53,5 +53,6 @@ namespace PlexRequests.UI.Models
public string TvSeriesRequestType { get; set; }
public string MusicBrainzId { get; set; }
public QualityModel[] Qualities { get; set; }
public string ArtistName { get; set; }
}
}

@ -300,7 +300,9 @@ namespace PlexRequests.UI.Modules
OtherMessage = album.OtherMessage,
AdminNotes = album.AdminNote,
TvSeriesRequestType = album.SeasonsRequested,
MusicBrainzId = album.MusicBrainzId
MusicBrainzId = album.MusicBrainzId,
ArtistName = album.ArtistName
};
}).ToList();

@ -131,6 +131,9 @@
{
<text>
var qualitySelected = @Model.QualityProfile;
if (!qualitySelected) {
return;
}
var $form = $("#mainForm");
$.ajax({
type: $form.prop("method"),

Loading…
Cancel
Save