Commit fbb757f7 authored by Mike Muzurakis's avatar Mike Muzurakis
Browse files

don't accept blank vm names on creation wizard, Refs #83

parent dc1e10e5
......@@ -529,7 +529,9 @@ $("#start").click(function(){
var imageRef = $('input[type=radio][name=image-id]:checked')[0].id.replace('img-radio-','');
var flavorRef = identify_flavor($("#cpu-indicator")[0].value, $("#storage-indicator")[0].value, $("#ram-indicator")[0].value);
var machineName = $('input[name=machine_name]')[0].value;
if (jQuery.trim(machineName) == ''){
return false;
}
create_vm(machineName, imageRef, flavorRef);
$('a#create').data('overlay').close();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment