mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Deleted saveas icon in cloud view for vCenter VMs (#339)
This commit is contained in:
1 parent
174dc9cbf3
commit
632cff4fb9
1 file changed
+2
-2
@@ -312,7 +312,7 @@ define(function(require) {
|
||||
$(".provision_terminate_confirm_button", context).hide();
|
||||
}
|
||||
|
||||
if(Config.isTabActionEnabled("provision-tab", "VM.save_as_template")){
|
||||
if(Config.isTabActionEnabled("provision-tab", "VM.save_as_template") && (data.USER_TEMPLATE.HYPERVISOR != "vcenter")){
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user