bug #2601: Use ssh_public_key when updating a template

(cherry picked from commit d135098b31d4504c39e356a26d7ee6b58875c308)
This commit is contained in:
Daniel Molina committed 2014-01-08 18:52:06 +01:00
1 parent 59e97c4ea8
commit 07fc0b7433
1 file changed
+1 -1
@@ -4691,7 +4691,7 @@ function fillTemplatePopUp(request, response){
$("#ssh_context", context_section).attr('checked','checked');
if (!publickey_regexp.test(value)) {
$("input#ssh_public_key").val(value);
$("#ssh_public_key", context_section).val(value);
}
}
else if (token_regexp.test(key)) {