1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Merge pull request #60 from Taloth/develop

Saving changed quality of episode file
This commit is contained in:
Mark McDowall 2014-03-01 11:20:14 -08:00
commit 3a6df8d3c4

View File

@ -50,11 +50,11 @@ define(
var column = this.column; var column = this.column;
var selected = parseInt(this.$el.val(), 10); var selected = parseInt(this.$el.val(), 10);
var quality = _.find(this.schema.get('available'), { 'id': selected }); var qualityProfileItem = _.find(this.schema.get('items'), function(model) { return model.quality.id == selected });
var newQuality = { var newQuality = {
proper : false, proper : false,
quality: quality quality: qualityProfileItem.quality
}; };
model.set(column.get('name'), newQuality); model.set(column.get('name'), newQuality);