mirror of
https://github.com/Radarr/Radarr
synced 2025-03-15 00:19:49 +00:00
Added some todos
This commit is contained in:
parent
a6a5277de8
commit
1f03888ff9
2 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
//this.validators.allowed = function (value) {
|
||||
// return value.length > 0 ? { isValid: true } : { isValid: false, message: 'You must have allowed qualities' };
|
||||
//};
|
||||
|
||||
//Todo: Cutoff should be something that is allowed (double check)
|
||||
this.validators.cutoff = function (value) {
|
||||
return value != null ? { isValid: true } : { isValid: false, message: 'You must have a valid cutoff' };
|
||||
};
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
else {
|
||||
$(cutoff).find('option[value="' + qualityId + '"]').remove();
|
||||
}
|
||||
|
||||
//Todo: auto-sort by weight (which is not the value)
|
||||
//$(cutoff).html($($(cutoff).children("option")).sort(function(a, b) {
|
||||
// return a.value == b.value ? 0 : a.value < b.value ? -1 : 1;
|
||||
//}));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue