cockpit/js/modifiers.js in cpee-2.1.71 vs cockpit/js/modifiers.js in cpee-2.1.73
- old
+ new
@@ -142,9 +142,12 @@
if (success) {
let top = $(r).attr('data-resource');
let it = $(s).attr('value');
$('select',r).val(it);
modifiers_display_ui(rep + 'modifiers/',top,it,save['modifiers_active'][top] == it);
+ if (save['modifiers_active'][top] != it) {
+ modifiers_update({"target": $('select',r)});
+ }
save['modifiers_active'][top] = it;
}
});
});
}