Skip to content

Commit

Permalink
Add flag for init of defaults in fields
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Oct 4, 2018
1 parent 41f44af commit cb2c04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/resource_action_workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def load_dialog(resource_action, values, options)
dialog.target_resource = @target
if options[:display_view_only]
dialog.init_fields_with_values_for_request(values)
elsif options[:provision_workflow]
elsif options[:provision_workflow] || options[:init_defaults]
dialog.initialize_value_context(values)
dialog.load_values_into_fields(values, false)
elsif options[:refresh] || options[:submit_workflow]
Expand Down

0 comments on commit cb2c04f

Please sign in to comment.