From c876a62d6c306455491bf38a6a8cceda6f16ccd0 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Wed, 8 Jan 2014 18:46:48 +0100 Subject: [PATCH] bug #2601: Use ssh_public_key when updating a template --- src/sunstone/public/js/plugins/templates-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 75951232d5..9176d70545 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -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)) {