mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 11:05:44 +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 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; }
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue