mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
parent
02d530d33f
commit
e21e35c58a
@ -48,6 +48,7 @@ define(function(require) {
|
||||
this.title = Locale.tr("Numa");
|
||||
this.icon = "fa-microchip";
|
||||
this.element = info[RESOURCE.toUpperCase()];
|
||||
this.class = "not_vcenter";
|
||||
return this;
|
||||
};
|
||||
|
||||
@ -93,6 +94,16 @@ define(function(require) {
|
||||
|
||||
function _setup(context) {
|
||||
var that = this;
|
||||
|
||||
console.log(that);
|
||||
|
||||
// Hide NUMA tab if hypervisor is vcenter
|
||||
if( that.element &&
|
||||
that.element.VM_MAD &&
|
||||
that.element.VM_MAD == "vcenter"){
|
||||
$("li.not_vcenter").addClass("hide");
|
||||
}
|
||||
|
||||
if (
|
||||
that &&
|
||||
that.element &&
|
||||
@ -271,4 +282,3 @@ define(function(require) {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -196,7 +196,6 @@ define(function(require) {
|
||||
context.on("change", "#CORES_PER_SOCKET", function(){
|
||||
_calculateSockets(context);
|
||||
});
|
||||
|
||||
// MB to GB
|
||||
context.on("input", "div.memory_input input", function(){
|
||||
$("div.memory_gb_input input", context).val(_m2g(this.value));
|
||||
|
Loading…
x
Reference in New Issue
Block a user