mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
Fixed: Force import won't trigger icon change on multiple items
This commit is contained in:
parent
f4573545cd
commit
a7a6a08807
2 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
var $ = require('jquery');
|
||||
var vent = require('../../vent');
|
||||
var Marionette = require('marionette');
|
||||
var TemplatedCell = require('../../Cells/TemplatedCell');
|
||||
var RemoveFromQueueView = require('./RemoveFromQueueView');
|
||||
|
||||
|
@ -40,7 +39,7 @@ module.exports = TemplatedCell.extend({
|
|||
data : JSON.stringify(this.model.toJSON())
|
||||
});
|
||||
|
||||
$(this.ui.import).spinForPromise(promise);
|
||||
this.$(this.ui.import).spinForPromise(promise);
|
||||
|
||||
promise.success(function() {
|
||||
//find models that have the same series id and episode ids and remove them
|
||||
|
@ -57,7 +56,7 @@ module.exports = TemplatedCell.extend({
|
|||
data : JSON.stringify(this.model.toJSON())
|
||||
});
|
||||
|
||||
$(this.ui.grab).spinForPromise(promise);
|
||||
this.$(this.ui.grab).spinForPromise(promise);
|
||||
|
||||
promise.success(function() {
|
||||
//find models that have the same series id and episode ids and remove them
|
||||
|
|
|
@ -38,7 +38,7 @@ module.exports = function() {
|
|||
} else {
|
||||
icon.attr('data-idle-icon', iconClass);
|
||||
icon.removeClass(iconClass);
|
||||
icon.addClass('icon-sonarr-spinner');
|
||||
icon.addClass('fa-spin icon-sonarr-spinner');
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue