diff --git a/app/views/foreman_virt_who_configure/configs/show.html.erb b/app/views/foreman_virt_who_configure/configs/show.html.erb index 8366ac6..316e410 100644 --- a/app/views/foreman_virt_who_configure/configs/show.html.erb +++ b/app/views/foreman_virt_who_configure/configs/show.html.erb @@ -79,7 +79,7 @@
- <%= link_to _('Copy to clipboard'), '#', :class => 'btn btn-default', :onclick => 'virt_who_copy_configuration_to_clipboard($("#config_command").html()); return false' %> + <%= link_to _('Copy to clipboard'), '#', :class => 'btn btn-default', :onclick => 'virt_who_copy_configuration_to_clipboard($("#config_command").text()); return false' %>
@@ -103,7 +103,7 @@
- <%= link_to _('Copy to clipboard'), '#', :class => 'btn btn-default', :onclick => 'virt_who_copy_configuration_to_clipboard($("#config_script").html()); return false' %> + <%= link_to _('Copy to clipboard'), '#', :class => 'btn btn-default', :onclick => 'virt_who_copy_configuration_to_clipboard($("#config_script").text()); return false' %> <%= link_to _('Download the script'), deploy_script_foreman_virt_who_configure_config_path(@config), :class => 'btn btn-default' %>