UI for settings propagation

This commit is contained in:
Raphael Michel
2017-10-06 14:20:37 +02:00
parent bbd112280a
commit 411c537438
6 changed files with 128 additions and 4 deletions

View File

@@ -312,4 +312,13 @@ $(function () {
}
);
});
$(".propagated-settings-box button[data-action=unlink]").click(function(ev) {
var $box = $(this).closest(".propagated-settings-box");
$box.find(".propagated-settings-overlay").fadeOut();
$box.find("input[name=_settings_ignore]").attr("name", "decouple");
$box.find(".propagated-settings-form").removeClass("blurred");
ev.preventDefault();
return true;
})
});