mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Signed-off-by: Frederick Borges <fborges@opennebula.io> (cherry picked from commit 15fdf4ab3848ad6e1b10dc6007d6f2227a8d099a)
This commit is contained in:
parent
6045447a5f
commit
3b0494c3e5
@ -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