Updated editjob

This commit is contained in:
Jeroen De Meerleer 2019-04-25 17:31:29 +02:00
parent 175b2fa9f5
commit e5f829e1f8
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ $(document).ready(function() {
}); });
}); });
$("body").on("focusout", "input[name=url]", function() { $("body").on("focusout", "input[name=url]", function() {
if($("input[name=url]").val() == "reboot") { if($("input[name=url]").val().indexOf("reboot") !== -1) {
$("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"); $("input[name=expected]").attr("placeholder", "1");
} }