Revision 5d3c8f3f ui/templates/machines.html

b/ui/templates/machines.html
529 529
    var imageRef = $('input[type=radio][name=image-id]:checked')[0].id.replace('img-radio-','');   
530 530
    var flavorRef = identify_flavor($("#cpu-indicator")[0].value, $("#storage-indicator")[0].value, $("#ram-indicator")[0].value);
531 531
    var machineName = $('input[name=machine_name]')[0].value;
532

  
532
    if (jQuery.trim(machineName) == ''){
533
        return false;
534
    }
533 535
    create_vm(machineName, imageRef, flavorRef);
534 536

  
535 537
    $('a#create').data('overlay').close();

Also available in: Unified diff