1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-28 10:48:46 +00:00

Allow editing of unknown episode file quality

This commit is contained in:
Mark McDowall 2013-09-08 17:35:39 -07:00
parent 14468eafee
commit e8550b6c6e

View file

@ -28,7 +28,10 @@ define(
self.schema = qualityProfileSchemaCollection.first();
var selected = _.find(self.schema.get('available'), { 'id': self.model.get(self.column.get("name")).quality.id });
selected.selected = true;
if (selected) {
selected.selected = true;
}
self.templateFunction = Marionette.TemplateCache.get(templateName);
var data = self.schema.toJSON();