From a25a24ac0b0472b1e77be9dc05b534c5fb516998 Mon Sep 17 00:00:00 2001 From: lgalis Date: Tue, 17 Apr 2018 13:58:33 -0400 Subject: [PATCH] Clear the request field when switching the button type from Ansible to default --- app/controllers/mixins/playbook_options.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/mixins/playbook_options.rb b/app/controllers/mixins/playbook_options.rb index 4dbb25119784..d1ec7edc9f29 100644 --- a/app/controllers/mixins/playbook_options.rb +++ b/app/controllers/mixins/playbook_options.rb @@ -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