1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-14 01:57:24 +03:00

M #~: Fix filesystem select in sunstone (#719)

This commit is contained in:
Sergio Betanzos 2021-01-28 19:47:43 +01:00 committed by GitHub
parent 34c7d1fbb5
commit 083bec9844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ define(function(require) {
var rtn = "";
if(config && config.system_config && config.system_config.support_fs && Array.isArray(config.system_config.support_fs)){
config.system_config.support_fs.forEach(element => {
rtn += "<option>"+element+"</option>";
rtn += "<option value='"+element+"'>"+element+"</option>";
});
}
return rtn;
@ -78,7 +78,7 @@ define(function(require) {
return TemplateHTML({
"diskTabId": this.diskTabId,
"imageTableSelectHTML": this.imageTable.dataTableHTML,
"pepe": optionsFilesystem()
"optionsFilesystem": optionsFilesystem()
});
}

View File

@ -100,7 +100,7 @@
{{tr "Filesystem"}}
</label>
<select class="hypervisor only_kvm" wizard_field="FS" id="TYPE_KVM" name="type">
{{{pepe}}}
{{{optionsFilesystem}}}
</select>
</div>
<div class="medium-6 columns">