mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-14 01:57:24 +03:00
Signed-off-by: Frederick Borges <fborges@opennebula.io>
This commit is contained in:
parent
37098d157c
commit
15fdf4ab38
@ -200,6 +200,15 @@ define(function(require) {
|
||||
}
|
||||
}
|
||||
|
||||
$("div.vcpu_input input.visor", context).on("change keyup", function(){
|
||||
var min_value = $("div.vcpu_input input.visor", context).attr("data-min");
|
||||
if (this.value < min_value){
|
||||
this.value = min_value;
|
||||
}
|
||||
$(this).siblings("input").val(this.value);
|
||||
$(this).siblings("input").trigger("input");
|
||||
});
|
||||
|
||||
if (element.TEMPLATE.HYPERVISOR == "vcenter"){
|
||||
$("div.cores_per_socket_select_wrapper").show();
|
||||
$("div.socket_info").show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user