search for: selected_starting_host

Displaying 2 results from an estimated 2 matches for "selected_starting_host".

2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
...}); + + }); + + 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('<%= 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_dese...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...idget_unhover' + } %> + + <% form_tag do %> + <!--[form:start_vm]--> + <%= hidden_field_tag 'id', @vm.id %> + <%= hidden_field_tag 'vm_action', VmTask::ACTION_START_VM %> + Selected Migration Target: + <div id='selected_starting_host'> + <div class="selection_left"> + <div>No starting host selected.</div> + </div> + </div> + <%= hidden_field_tag 'vm_action_data', "" %> + <% end %> + </div> + <%= popup_foot...