Project

General

Profile

« Previous | Next » 

Revision ac1fe0de

Added by Ohad Levy about 5 years ago

fixes #26198 - ensure host list does not require full page reload

View differences:

app/views/hosts/select_multiple_hostgroup.html.erb
<%= form_for :hostgroup, :url => update_multiple_hostgroup_hosts_path(:host_ids => params[:host_ids]) do |f| %>
<%= selectable_f f, :id, [[_("Select host group"),"disabled"],[_("*Clear host group*"), "" ]] + Hostgroup.all.map{|h| [h.to_label, h.id]}.sort,{},
:label => _("Hostgroup"), :onchange => "toggle_multiple_ok_button(this)" %>
:label => _("Hostgroup"), :onchange => "tfm.hosts.table.toggleMultipleOkButton(this)" %>
<% end %>

Also available in: Unified diff