Skip to content

Commit

Permalink
JIRA-PLATTFORM-602: Use name validation
Browse files Browse the repository at this point in the history
Use it for services as well
  • Loading branch information
mickenordin committed Jul 10, 2019
1 parent e6f401b commit cba4974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Thruk/Controller/api_conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ s/(input type="hidden" name="mode" value="delete")/$1><input type="hidden" name=
-method => $METHOD,
-action => "api_conf.cgi",
-id => "JSONForm",
-onSubmit => "return validateJSON()"
-onSubmit => "return validateJSON() && validateName()"
);
$service_page .=
'<select name="host" id="host-select" multiple="multiple">';
Expand Down

0 comments on commit cba4974

Please sign in to comment.