1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Adv options broken if rp is empty [vCenter VM Template] (#2170)

This commit is contained in:
Abel Coronado 2018-06-11 13:38:03 +02:00 committed by Ruben S. Montero
parent 10b0893076
commit 0a4e5e3375
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ define(function(require) {
opts[ref] = {};
opts[ref].type = $(".modify_rp", row_context).val();
opts[ref].type = ($(".modify_rp", row_context).val() ? $(".modify_rp", row_context).val() : "default");
var rpInput = $(".vcenter_rp_input", row_context);
var rpParams = [];

View File

@ -58,6 +58,7 @@
</label>
</div>
</div>
{{/if}}
<div class="row vcenter_rp_input">
<div class="large-12 large-centered columns" style="margin-top: 20px;margin-left: 11px">
<div class="medium-4 columns" id="folder_{{id}}">
@ -90,7 +91,6 @@
</div>
</div>
</div>
{{/if}}
</div>
</div>
</div>