1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 23:42:33 +01:00

Couple fixes

This commit is contained in:
Mark McDowall 2015-01-31 00:31:40 -08:00
parent e641611662
commit 43e4c16cbf
2 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,9 @@ namespace NzbDrone.Api.Indexers
public int? Leechers { get; set; }
public DownloadProtocol Protocol { get; set; }
//TODO: besides a test I don't think this is used...
public DownloadProtocol DownloadProtocol { get; set; }
public Boolean IsDaily { get; set; }
public Boolean IsAbsoluteNumbering { get; set; }
public Boolean IsPossibleSpecialEpisode { get; set; }

View File

@ -17,7 +17,8 @@ define(
},
ui: {
'import' : '.x-import'
import : '.x-import',
grab : '.x-grab'
},
render: function () {
@ -90,6 +91,8 @@ define(
data: JSON.stringify(this.model.toJSON())
});
$(this.ui.grab).spinForPromise(promise);
promise.success(function () {
//find models that have the same series id and episode ids and remove them
self.model.trigger('destroy', self.model);