mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
bug #1883: Fill memory input when updating a template
This commit is contained in:
parent
32714e6d91
commit
106d0dfecb
@ -690,6 +690,11 @@ function setup_capacity_tab_content(capacity_section) {
|
||||
update_final_memory_input();
|
||||
});
|
||||
|
||||
final_memory_input.change(function() {
|
||||
memory_slider.val(this.value * 100);
|
||||
memory_input.val( Math.floor(final_memory_input.val()) );
|
||||
})
|
||||
|
||||
// init::start is ignored for some reason
|
||||
memory_slider.val(0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user