1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

B #6096: Fix typo causing errors (#2459)

(cherry picked from commit 85832d9089e48e32ff6a760fb6b2af8eb837435e)
This commit is contained in:
Frederick Borges 2023-01-25 11:25:16 +01:00 committed by Tino Vázquez
parent 2ee4a31f39
commit 57dfd3176c
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -199,7 +199,7 @@ define(function(require) {
var vcpuValue = $("div.vcpu_input input", context).val();
if (vcpuValue !== "") {
CoresPerSocket.generateCores(VCPU_SELECTOR);
if(element && element.TEMPLATE && element.TEMPLATE.TOPOLOGY && element.TEMPLATE.TOPOOGY.CORES) {
if(element && element.TEMPLATE && element.TEMPLATE.TOPOLOGY && element.TEMPLATE.TOPOLOGY.CORES) {
CoresPerSocket.selectOption(element.TEMPLATE.TOPOLOGY.CORES);
}
}