diff --git a/app/assets/javascripts/components/generic_object/main-custom-button-form.js b/app/assets/javascripts/components/generic_object/main-custom-button-form.js index 0e91a2ce0d3..5b9944e4673 100644 --- a/app/assets/javascripts/components/generic_object/main-custom-button-form.js +++ b/app/assets/javascripts/components/generic_object/main-custom-button-form.js @@ -207,7 +207,7 @@ function mainCustomButtonFormController(API, miqService, $q, $http) { } // set uri_attributes to default for non-Ansible button if (vm.customButtonModel.button_type == "default") { - vm.customButtonModel.uri_attributes = {"request": "", service_template: null, hosts: null}; + vm.customButtonModel.uri_attributes = {"request": vm.customButtonModel.request, service_template: null, hosts: null}; }; vm.customButtonModel.visibility = {