Displaying 2 results from an estimated 2 matches for "toggle_visability_on_click".
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
...l "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %>
<!--[eoform:vm]-->
@@ -104,6 +121,18 @@ ${htmlList(pools, id)}
refresh: VmCreator.returnToVmForm
});
});
-</script>
+ toggle_visability_on_click('#vm_general_config', '#vm_general_section_link', 'General');
+ toggle_visability_on_click('#vm_resources_config', '#vm_resources_section_link', 'Resources');
+ toggle_visability_on_click('#vm_storage_config', '#vm_storage_sectio...
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
...check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %>
@@ -104,6 +129,16 @@ ${htmlList(pools, id)}
refresh: VmCreator.returnToVmForm
});
});
-</script>
+ toggle_visability_on_click('#vm_general_config', '#vm_general_section_link', 'General');
+ toggle_visability_on_click('#vm_resources_config','#vm_resource_section_link', 'Resources');
+ toggle_visability_on_click('#vm_network_config', '#vm_network_section_l...