Revision c94c164a

View differences:

src/sunstone/public/js/plugins/templates-tab.js
3402 3402

  
3403 3403
    function fillDiskTab(disk) {
3404 3404
        var str_disk_tab_id = 'disk' + number_of_disks;
3405
        var disk_section  = $('div#' + str_disk_tab_id, $create_template_dialog);
3405
        var disk_section  = $('li#' + str_disk_tab_id + 'Tab', $create_template_dialog);
3406 3406

  
3407 3407
        if (disk.IMAGE_ID) {
3408 3408
            $('input#'+str_disk_tab_id+'radioImage', disk_section).click();
......
3482 3482

  
3483 3483
    function fillNicTab(nic) {
3484 3484
        var str_nic_tab_id = 'nic' + number_of_nics;
3485
        var nic_section  = $('div#' + str_nic_tab_id, $create_template_dialog);
3485
        var nic_section  = $('li#' + str_nic_tab_id + 'Tab', $create_template_dialog);
3486 3486

  
3487 3487
        var dataTable_template_networks = $("#datatable_template_networks" + number_of_nics).dataTable();
3488 3488

  
......
3504 3504
                var clicked = false;
3505 3505
                for (var j=0;j<rows.length;j++) {
3506 3506
                    var current_row = $(rows[j]);
3507
                    var row_network_id = $(rows[j]).find("td:eq(1)").html();
3507
                    var row_network_id = $(rows[j]).find("td:eq(0)").html();
3508 3508

  
3509 3509
                    if (row_network_id == nic.NETWORK_ID) {
3510 3510
                        rows[j].click();
src/sunstone/public/js/plugins/vms-tab.js
444 444
                colored_log += line + "<br>";
445 445
            }
446 446

  
447
            $('#vm_log_tabTab').html('<div class=""><div class="log-tab twelve columns">'+colored_log+'</div></div>')
447
            $('#vm_log_tabTab').html('<div class=""><div class="log-tab centered eleven columns">'+colored_log+'</div></div>')
448 448
        },
449 449
        error: function(request,error_json){
450 450
            $("#vm_log pre").html('');

Also available in: Unified diff