mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-01 12:34:40 +00:00
Couple fixes
This commit is contained in:
parent
e641611662
commit
43e4c16cbf
2 changed files with 7 additions and 1 deletions
|
@ -46,6 +46,9 @@ public class ReleaseResource : RestResource
|
||||||
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…
Reference in a new issue