Fixed label in edit and create

This commit is contained in:
Jeroen De Meerleer 2018-09-05 15:31:31 +02:00
parent 8dbba4e9d0
commit c2533f13c2
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ $(document).ready(function() {
$('#resultmodal').modal('show');
});
});
$("body").on("change", "input[name=url]", function() {
$("body").on("focusout", "input[name=url]", function() {
if($("input[name=url]").val() == "reboot") {
$(".label[for=expected]").html("Capture services after reboot? (1: yes; 0: no)");
$("label[for=expected]").html("Capture services after reboot? (1: yes; 0: no)");
$("input[name=expected]").attr("placeholder", "1");
}
})