1
0
Fork 0
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:
Mark McDowall 2015-02-27 16:58:10 -08:00
parent f4573545cd
commit a7a6a08807
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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;