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

B #5451: Clean VCPU_MAX and MEMORY_MAX when disabling hot resize (#1778)

This commit is contained in:
Frederick Borges 2022-02-15 19:21:25 +01:00 committed by GitHub
parent cb90fdc998
commit 267f7d27a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,6 +259,8 @@ define(function(require) {
$("#MEMORY_HOT_ADD_ENABLED", context).on("change", function(){
if (this.value == "NO"){
$("#MEMORY_MAX", context).val("");
$("#MEMORY_MAX_GB", context).val("");
$("#memory_max_group", context).hide();
}
else{
@ -268,6 +270,7 @@ define(function(require) {
$("#CPU_HOT_ADD_ENABLED", context).on("change", function(){
if (this.value == "NO"){
$("#VCPU_MAX", context).val("");
$("#vcpu_max_group", context).hide();
}
else{