mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Bug #1314: Side-effect from previous commit, VMs were instantiated with wrong name when no name is provided.
(cherry picked from commit ce9c84a35480bc872f76c3580085ebd145e3d3cd)
This commit is contained in:
parent
c1a1cc5813
commit
15ed6b772b
@ -1334,7 +1334,7 @@ function setupCreateVMDialog(){
|
||||
};
|
||||
|
||||
if (!vm_name.length){
|
||||
vm_name = $('#template_id option:selected',this).text();
|
||||
vm_name = getTemplateName(template_id);
|
||||
};
|
||||
|
||||
if (vm_name.indexOf("%i") == -1){ //no wildcard
|
||||
|
Loading…
x
Reference in New Issue
Block a user