Skip to content

Commit

Permalink
Clear the request field when switching the button type from Ansible t…
Browse files Browse the repository at this point in the history
…o default
  • Loading branch information
lgalis committed Apr 17, 2018
1 parent 0cfd7ad commit a25a24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/mixins/playbook_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def clear_playbook_variables
@edit[:new][:service_template_id] = nil
@edit[:new][:inventory_type] = 'localhost'
@edit[:new][:hosts] = ''
@edit[:new][:object_request] = nil
end

def initialize_playbook_variables
Expand Down

0 comments on commit a25a24a

Please sign in to comment.