1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #3748: Fix ssh key update in cloud view

This commit is contained in:
Carlos Martín 2015-07-10 17:20:54 +02:00
parent aab1264c82
commit 3f4927f0fc

View File

@ -59,7 +59,7 @@ define(function(require) {
if (ssh_key && ssh_key.length) {
$("#provision_ssh_key", context).val(ssh_key);
$(".provision_add_ssh_key_button", context).hide();
$(".provision_update_ssh_key_button"), context.show();
$(".provision_update_ssh_key_button", context).show();
} else {
$(".provision_add_ssh_key_button", context).show();
$(".provision_update_ssh_key_button", context).hide();