mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Initial value for VM Template memory field
This commit is contained in:
parent
8bb82020ef
commit
15ae2c9fa4
@ -809,7 +809,8 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
connect: "lower",
|
||||
range: [0,409600],
|
||||
step: 12800,
|
||||
start: 1,
|
||||
start: 51200,
|
||||
value: 512,
|
||||
slide: memory_slider_change,
|
||||
});
|
||||
|
||||
@ -826,9 +827,6 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
memory_input.val( Math.floor(final_memory_input.val()) );
|
||||
})
|
||||
|
||||
// init::start is ignored for some reason
|
||||
memory_slider.val(0);
|
||||
|
||||
memory_unit.change(function() {
|
||||
var memory_unit_val = $('#memory_unit :selected', capacity_section).val();
|
||||
|
||||
@ -844,6 +842,7 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
range: [0,1600],
|
||||
start: 1,
|
||||
step: 50,
|
||||
value: 51200,
|
||||
slide: memory_slider_change,
|
||||
});
|
||||
|
||||
@ -859,6 +858,7 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
connect: "lower",
|
||||
range: [0,409600],
|
||||
start: 1,
|
||||
value: 51200,
|
||||
step: 12800,
|
||||
slide: memory_slider_change,
|
||||
});
|
||||
@ -873,6 +873,9 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
}
|
||||
});
|
||||
|
||||
// init::start is ignored for some reason
|
||||
memory_input.val(512);
|
||||
|
||||
|
||||
// Define the vcpu slider
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user