Project

General

Profile

« Previous | Next » 

Revision 88ed4900

Added by Amos Benari about 10 years ago

fixes #3592 lazy load vm with ajax in host show page.

View differences:

app/helpers/bmc_helper.rb
end
def power_actions
action_buttons(
toolbar_action_buttons(
(PowerManager::SUPPORTED_ACTIONS - ['state']).map do |action|
display_link_if_authorized(_(action.to_s.capitalize),
{ :action => "power", :id => @host, :power_action => action, :auth_object => @host },

Also available in: Unified diff