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:
parent
4ff2688e74
commit
9586626b20
@ -138,6 +138,7 @@ define(function(require) {
|
||||
var value = $(this).val();
|
||||
switch (value){
|
||||
case "DATABLOCK":
|
||||
case "OS":
|
||||
$('#datablock_img', context).removeAttr("disabled");
|
||||
break;
|
||||
default:
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user