Skip to content

Commit

Permalink
Merge pull request #6412 from hstastna/Create_Service_Dialog_from_Tem…
Browse files Browse the repository at this point in the history
…plate_steps

Allow create Service Dialog from Template on Ansible/Templates screen, depending on navigation steps
  • Loading branch information
mzazrivec committed Nov 14, 2019
2 parents daa3983 + 694438e commit ac919f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/automation_manager_controller.rb
Expand Up @@ -444,7 +444,7 @@ def valid_configuration_script_record?(configuration_script_record)

def configscript_service_dialog
assert_privileges("automation_manager_configuration_script_service_dialog")
cs = ConfigurationScript.find_by(:id => params[:id] || params[:miq_grid_checks])
cs = ConfigurationScript.find_by(:id => params[:miq_grid_checks] || params[:id])
@edit = {:rec_id => cs.id}
@in_a_form = true
@right_cell_text = _("Adding a new Service Dialog from \"%{name}\"") % {:name => cs.name}
Expand Down

0 comments on commit ac919f5

Please sign in to comment.