1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

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

(cherry picked from commit 9586626b200e6a62f4e42977ca4a8a77851d8320)
This commit is contained in:
Jose Angel Garrido Montoya 2018-10-25 09:50:36 +02:00 committed by Ruben S. Montero
parent d1e7d303d3
commit 7d39a5204a
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>