mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
Fixed episode details, manual download will show check on success
This commit is contained in:
@@ -16,15 +16,21 @@ define(
|
||||
|
||||
var self = this;
|
||||
|
||||
this.$el.html('<i class =\'icon-spinner icon-spin\' />');
|
||||
this.model.save().always(function () {
|
||||
self.$el.html('<i class =\'icon-download-alt\' title=\'Add to download queue\' />');
|
||||
this.$el.html('<i class="icon-spinner icon-spin" />');
|
||||
var promise = this.model.save();
|
||||
|
||||
promise.done(function () {
|
||||
self.$el.html('<i class="icon-ok" title="Added to downloaded queue" />');
|
||||
});
|
||||
|
||||
promise.fail(function () {
|
||||
self.$el.html('<i class="icon-download-alt" title="Add to download queue" />');
|
||||
});
|
||||
},
|
||||
|
||||
render: function () {
|
||||
|
||||
this.$el.html('<i class =\'icon-download-alt\' title=\'Add to download queue\' />');
|
||||
this.$el.html('<i class="icon-download-alt" title="Add to download queue" />');
|
||||
return this;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user