mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
added not found placeholder in add series
added path validation to add series
This commit is contained in:
parent
cdb195a44f
commit
ac18d6c704
9 changed files with 108 additions and 39 deletions
|
@ -31,7 +31,13 @@ define(
|
|||
}
|
||||
|
||||
var controlGroup = input.parents('.control-group');
|
||||
controlGroup.find('.controls').append('<span class="help-inline error-message">' + error.errorMessage + '</span>');
|
||||
|
||||
if(controlGroup.length ===0){
|
||||
controlGroup = input.parent();
|
||||
}
|
||||
else{
|
||||
controlGroup.find('.controls').append('<span class="help-inline error-message">' + error.errorMessage + '</span>');
|
||||
}
|
||||
|
||||
controlGroup.addClass('error');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue