Couple fixes

pull/3113/head
Mark McDowall 10 years ago
parent e641611662
commit 43e4c16cbf

@ -46,6 +46,9 @@ namespace NzbDrone.Api.Indexers
public int? Leechers { get; set; } public int? Leechers { get; set; }
public DownloadProtocol Protocol { 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 IsDaily { get; set; }
public Boolean IsAbsoluteNumbering { get; set; } public Boolean IsAbsoluteNumbering { get; set; }
public Boolean IsPossibleSpecialEpisode { get; set; } public Boolean IsPossibleSpecialEpisode { get; set; }

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

Loading…
Cancel
Save