|
|
|
@ -182,7 +182,6 @@ window.qBittorrent.PropFiles = (function() {
@@ -182,7 +182,6 @@ window.qBittorrent.PropFiles = (function() {
|
|
|
|
|
select.set('id', 'comboPrio' + id); |
|
|
|
|
select.set('data-id', id); |
|
|
|
|
select.set('data-file-id', fileId); |
|
|
|
|
select.set('disabled', is_seed); |
|
|
|
|
select.addClass('combo_priority'); |
|
|
|
|
select.addEvent('change', fileComboboxChanged); |
|
|
|
|
|
|
|
|
@ -204,9 +203,6 @@ window.qBittorrent.PropFiles = (function() {
@@ -204,9 +203,6 @@ window.qBittorrent.PropFiles = (function() {
|
|
|
|
|
|
|
|
|
|
if (parseInt(combobox.value) !== selectedPriority) |
|
|
|
|
selectComboboxPriority(combobox, selectedPriority); |
|
|
|
|
|
|
|
|
|
if (combobox.disabled !== is_seed) |
|
|
|
|
combobox.disabled = is_seed; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const selectComboboxPriority = function(combobox, priority) { |
|
|
|
|