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

This commit is contained in:
Abel Coronado authored and Tino Vázquez committed 2017-11-02 17:01:46 +01:00
1 parent 639c866798
commit 2c5e04dad5
1 file changed
-5
@@ -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){