Fixed manually download will show queued when downloading

Fixed: Manually download will change icons when sent to download client
This commit is contained in:
Mark McDowall
2013-11-11 18:00:20 -08:00
parent 410bf0d846
commit 8388092bf5
6 changed files with 26 additions and 34 deletions
+19
View File
@@ -0,0 +1,19 @@
'use strict';
define(
[
'backbone',
'Release/ReleaseModel'
], function (Backbone, ReleaseModel) {
return Backbone.Collection.extend({
url : window.NzbDrone.ApiRoot + '/release',
model: ReleaseModel,
state: {
pageSize: 2000
},
fetchEpisodeReleases: function (episodeId) {
return this.fetch({ data: { episodeId: episodeId }});
}
});
});