Skip to content

Commit

Permalink
refs #2062 - vmrc: console link is only valid once
Browse files Browse the repository at this point in the history
  • Loading branch information
timogoebel authored and ezr-ondrej committed Aug 12, 2019
1 parent b061724 commit ffb2d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hosts/console/vmrc.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p><%= _('To launch the VMRC console, you need the VMRC software installed.') %></p>
<p><%= link_to(_('Download VMRC'), 'https://www.vmware.com/go/download-vmrc', :target => '_blank', :rel => 'noopener noreferrer') %></p>
<div class="blank-slate-pf-main-action">
<%= link_to(_('Launch Console'), @console[:console_url], :class => 'btn btn-primary btn-lg') %>
<%= link_to(_('Launch Console'), @console[:console_url], :class => 'btn btn-primary btn-lg', :onclick => "$(this).attr('disabled', 'disabled');") %>
<% if @host %>
<%= link_to_if_authorized(_("Back to host"), hash_for_host_path(:id => @host), :title => _('Back to host'), :class => 'btn btn-default btn-lg') %>
<% end %>
Expand Down

0 comments on commit ffb2d64

Please sign in to comment.