search for: selected_row

Displaying 3 results from an estimated 3 matches for "selected_row".

Did you mean: selected_rows
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
...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('<%= url...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...orm').submit()", "Start Virtual Machine") %> +</form> +<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('<%= url...
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...are/show_vms.rhtml @@ -55,14 +55,14 @@ } if (vm_pools.indexOf($('#vmpool_selection_id').html()) != -1){ empty_summary('vmpool_selection', 'Virtual Machine Pool'); - } + } }, 'json'); } } function vmpools_select(selected_rows) { - var selected_ids = new Array() - for(i=0; i<selected_rows.length; i++) { + 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; } @@ -92,14 +92,11 @@ &lt...