New: Show download protocol in Queue

This commit is contained in:
Mark McDowall
2015-01-31 00:24:09 -08:00
parent cd79826aad
commit e641611662
13 changed files with 42 additions and 10 deletions

View File

@@ -16,6 +16,10 @@ define(
'click .x-grab' : '_grab'
},
ui: {
'import' : '.x-import'
},
render: function () {
this.$el.empty();
@@ -69,6 +73,8 @@ define(
data: JSON.stringify(this.model.toJSON())
});
$(this.ui.import).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);