mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 23:42:33 +01:00
Fixed: Disable delete button on used quality profiles
This commit is contained in:
parent
2f69a158b1
commit
9a61bb13e6
@ -103,6 +103,7 @@ var view = Marionette.Layout.extend({
|
|||||||
|
|
||||||
_updateDisableStatus : function() {
|
_updateDisableStatus : function() {
|
||||||
if (this._isQualityInUse()) {
|
if (this._isQualityInUse()) {
|
||||||
|
this.ui.deleteButton.attr('disabled', 'disabled');
|
||||||
this.ui.deleteButton.addClass('disabled');
|
this.ui.deleteButton.addClass('disabled');
|
||||||
this.ui.deleteButton.attr('title', 'Can\'t delete a profile that is attached to a series.');
|
this.ui.deleteButton.attr('title', 'Can\'t delete a profile that is attached to a series.');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user