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

B #5529: Unable to set CPU first, it always get values from vCPU (#558)

This commit is contained in:
Abel Coronado 2017-11-02 17:01:47 +01:00 committed by Tino Vázquez
parent 639c866798
commit 2c5e04dad5

View File

@ -139,11 +139,6 @@ define(function(require) {
var vcpuValue = $("div.vcpu_input input", context).val();
$("div.cpu_input input", context).val(vcpuValue * Config.scaleFactor);
});
} else {
$("div.vcpu_input input", context).on("change", function(){
var vcpuValue = $("div.vcpu_input input", context).val();
$("div.cpu_input input", context).val(vcpuValue);
});
}
if (userInputs != undefined && userInputs.MEMORY != undefined){