mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Bug: Fixed qualityProfile so it returns the selected cutoff in the model.
Now using trim before checking title.length for AddExistingSeries.
This commit is contained in:
parent
0e246b2cd9
commit
4796b81cf1
3 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,7 @@ $(".addExistingButton").live('click', function () {
|
|||
|
||||
var path = root.find(".seriesPathValue Label").text();
|
||||
|
||||
if (seriesId === 0 || title.length === 0) {
|
||||
if (seriesId === 0 || $.trim(title).length === 0) {
|
||||
$.gritter.add({
|
||||
title: 'Failed',
|
||||
text: 'Invalid Series Information for \'' + path + '\'',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue