Displaying 2 results from an estimated 2 matches for "start_vm_select".
Did you mean:
start_vm_deselect
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
...selection blank to allow oVirt to choose the most appropriate starting host.
<%- end -%>
+
+<script type="text/javascript">
+ $(function() {
+
+ $('#start_vm_form').ajaxForm({
+ dataType: 'json',
+ success: afterVm
+ });
+
+ });
+
+ function start_vm_select(selected_rows) {
+ var selected_ids = new Array();
+ for (i=0; i<selected_rows.length; i++) {
+ load_widget_select(selected_rows[i]);
+ selected_ids[i] = selected_rows[i].id;
+ }
+ if (selected_ids.length == 1) {
+ $('#selected_starting_host')
+ .load(...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...> {
+ :table_id => 'start_vm_grid',
+ :hwpool => @vm.get_hardware_pool,
+ :exclude_pool => nil,
+ :exclude_host => nil,
+ :is_popup => true,
+ :checkboxes => false,
+ :on_select => 'start_vm_select',
+ :on_deselect => 'start_vm_deselect',
+ :on_hover => 'load_widget_hover',
+ :on_unhover => 'load_widget_unhover'
+ } %>
+
+ <% form_tag do %>
+ <!--[form:start_vm]-->
+ <%= hidden_field_t...