1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

Revert "Deleted saveas icon in cloud view for vCenter VMs (#339)"

This reverts commit 632cff4fb96ed48598840355cb3584f3e1cbcaea.
This commit is contained in:
Tino Vazquez 2017-06-14 13:26:25 +02:00
parent 5e5af78c25
commit 5b3c979ac0

View File

@ -312,7 +312,7 @@ define(function(require) {
$(".provision_terminate_confirm_button", context).hide();
}
if(Config.isTabActionEnabled("provision-tab", "VM.save_as_template") && (data.USER_TEMPLATE.HYPERVISOR != "vcenter")){
if(Config.isTabActionEnabled("provision-tab", "VM.save_as_template")){
if (enabled("VM.save_as_template")){
$(".provision_save_as_template_confirm_button", context).show();
$(".provision_save_as_template_confirm_button_disabled", context).hide();
@ -320,7 +320,7 @@ define(function(require) {
$(".provision_save_as_template_confirm_button", context).hide();
$(".provision_save_as_template_confirm_button_disabled", context).show();
}
} else {
}else{
$(".provision_save_as_template_confirm_button", context).hide();
$(".provision_save_as_template_confirm_button_disabled", context).hide();
}