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:
parent
d1e7d303d3
commit
7d39a5204a
@ -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