From 2c5e04dad53406ef1098fa485f25561c877d5525 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Thu, 2 Nov 2017 17:01:47 +0100 Subject: [PATCH] B #5529: Unable to set CPU first, it always get values from vCPU (#558) --- .../create/wizard-tabs/general/capacity-inputs.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js index cd81f4329a..1e122feb7f 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js @@ -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){