Settings form: Fix explicit unlocking, fix HTML button type

This commit is contained in:
Raphael Michel
2022-02-23 13:24:47 +01:00
parent 67ba1f81e4
commit a4f64e94cc
2 changed files with 3 additions and 1 deletions

View File

@@ -765,6 +765,7 @@ $(function () {
$(".propagated-settings-box button[data-action=unlink]").click(function (ev) {
var $box = $(this).closest(".propagated-settings-box");
$box.find("input[name=decouple]").val($(this).val());
$box.find("[data-propagated-locked]").prop("readonly", false);
$box.removeClass("locked").addClass("unlocked");
ev.preventDefault();