Skip to content

Commit

Permalink
B #4946: Custom Attributes on VM instantiate (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Borges <[email protected]>
  • Loading branch information
Frederick Borges authored Jun 24, 2020
1 parent bffe516 commit bfd78f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sunstone/public/app/utils/user-inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ define(function(require) {
delete inputs["VCPU"];

opts.div = div;
opts.user_inputs = inputs;
opts.customs = inputs;
opts.defaults = $.extend({}, template_json.VMTEMPLATE.TEMPLATE);
return _generateInstantiateUserInputs(opts);
}
Expand Down Expand Up @@ -284,7 +284,7 @@ define(function(require) {

// It will replace the div's html with a row for each USER_INPUTS
// opts.div: where to insert the html
// opts.user_inputs: Object with the USER_INPUTS section
// opts.customs: Object with the USER_INPUTS section
// opts.defaults: Object with the first level attributes (TEMPLATE)
// opts.text_header: header text for the text & password inputs
// opts.network_header: header text for the network inputs
Expand Down

0 comments on commit bfd78f1

Please sign in to comment.