Commit 7728b0cb authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fix(frontend): allow empty ISO on new virtual machine

This check got re-added somewhere, backported from stable.

issue #918
parent 938a145d
......@@ -159,7 +159,7 @@
<div class="form-group row">
<button type="reset" class="btn btn-outline-secondary mr-2" onclick = "location='/admin/machines'"><%=l 'Cancel' %></button>
<input type="submit" class="btn btn-primary" name="submit" value="<%=l 'Create' %>"
ng-disabled="new_machineForm.$invalid || (!new_machineForm.id_iso.$viewValue.device && (new_machineForm.iso_file.$modelValue == '<NONE>')) || name_duplicated">
ng-disabled="new_machineForm.$invalid || name_duplicated">
Supports Markdown
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