Skip to content

Commit

Permalink
Merge pull request #2601 from ZitaNemeckova/fix_alert__onchange_depen…
Browse files Browse the repository at this point in the history
…dency

Remove dependency of two fields in Alerts
(cherry picked from commit 80d213d)

https://bugzilla.redhat.com/show_bug.cgi?id=1535612
  • Loading branch information
mzazrivec authored and simaishi committed Jan 17, 2018
1 parent 896b275 commit 7f4973c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/miq_policy_controller/alerts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def alert_field_changed
@edit[:expression_options] = MiqAlert.expression_options(@edit[:new][:expression][:eval_method])
alert_build_exp_options_info
end
@edit[:new][:repeat_time] = alert_default_repeat_time
end

@edit[:new][:expression][:options][:event_types] = [params[:event_types]].reject(&:blank?) if params[:event_types]
Expand Down

0 comments on commit 7f4973c

Please sign in to comment.