1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #1089 Allow creation of Empty disk image for type OS

This commit is contained in:
Jose Angel Garrido Montoya 2018-10-25 09:50:36 +02:00 committed by Ruben S. Montero
parent 3bc813ff7a
commit e9805a788b
2 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,7 @@ define(function(require) {
var value = $(this).val();
switch (value){
case "DATABLOCK":
case "OS":
$('#datablock_img', context).removeAttr("disabled");
break;
default:

View File

@ -85,7 +85,7 @@
<input type="radio" name="src_path" id="upload_image" value="upload">
<label for="upload_image">{{tr "Upload"}}</label>
{{#if images}}
<input type="radio" name="src_path" id="datablock_img" value="datablock" disabled>
<input type="radio" name="src_path" id="datablock_img" value="datablock">
<label for="datablock_img">{{tr "Empty disk image"}}</label>
{{/if}}
</div>