mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Add series will update UI properly
This commit is contained in:
parent
199c6c84b2
commit
de49a5b8f6
1 changed files with 7 additions and 4 deletions
|
@ -185,8 +185,11 @@ define(
|
||||||
},
|
},
|
||||||
|
|
||||||
_addSeries: function (searchForMissingEpisodes) {
|
_addSeries: function (searchForMissingEpisodes) {
|
||||||
this.ui.addButton.addClass('disabled');
|
var addButton = this.ui.addButton;
|
||||||
this.ui.addSearchButton.addClass('disabled');
|
var addSearchButton = this.ui.addSearchButton;
|
||||||
|
|
||||||
|
addButton.addClass('disabled');
|
||||||
|
addSearchButton.addClass('disabled');
|
||||||
|
|
||||||
var profile = this.ui.profile.val();
|
var profile = this.ui.profile.val();
|
||||||
var rootFolderPath = this.ui.rootFolder.children(':selected').text();
|
var rootFolderPath = this.ui.rootFolder.children(':selected').text();
|
||||||
|
@ -216,8 +219,8 @@ define(
|
||||||
}
|
}
|
||||||
|
|
||||||
promise.always(function () {
|
promise.always(function () {
|
||||||
self.ui.addButton.removeClass('disabled');
|
addButton.removeClass('disabled');
|
||||||
self.ui.addSearchButton.removeClass('disabled');
|
addSearchButton.removeClass('disabled');
|
||||||
});
|
});
|
||||||
|
|
||||||
promise.done(function () {
|
promise.done(function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue