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:
parent
10b0893076
commit
0a4e5e3375
@ -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 = [];
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user