Displaying 2 results from an estimated 2 matches for "start_vm_deselect".
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
...starting_host')
+ .load('<%= url_for :controller => "host", :action => "quick_summary" %>',
+ { id: parseInt(selected_ids[0].substring(3)) });
+ $('#vm_action_data').val(selected_ids[0].substring(3));
+ }
+ }
+
+ function start_vm_deselect(selected_rows) {
+ var selected_ids = new Array()
+ for (i=0; i<selected_rows.length; i++) {
+ load_widget_deselect(selected_rows[i]);
+ selected_ids[i] = selected_rows[i].id;
+ }
+ refresh_summary_static('selected_starting_host',
+ '<div class="sel...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...39;,
+ :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_tag 'id', @vm.id %>
+ <%= hidden_field_tag...