Skip to content

Commit

Permalink
Remove remaining dialog_provision from show
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Oct 24, 2017
1 parent f569c29 commit 461ae3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/controllers/application_controller/dialog_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def dialog_field_changed
def dialog_load
@edit = session[:edit]
@record = Dialog.find_by_id(@edit[:rec_id])
@dialog_prov = true
@in_a_form = true
@showtype = "dialog_provision"
render :template => "shared/dialogs/dialog_provision"
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/infra_networking_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def tagging
def button
if params[:pressed] == "custom_button"
custom_buttons
end
end
end

private
Expand Down
4 changes: 1 addition & 3 deletions app/views/storage/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#main_div
- if @dialog_prov
= render :partial => "shared/dialogs/dialog_provision"
- elsif %w(all_vms hosts miq_proxies all_miq_templates storage_extents storage_systems).include?(@display) && @showtype != "compare"
- if %w(all_vms hosts miq_proxies all_miq_templates storage_extents storage_systems).include?(@display) && @showtype != "compare"
= render :partial => "layouts/x_gtl", :locals => {:action_url => "show/#{@record.id}"}
- else
- case @showtype
Expand Down

0 comments on commit 461ae3e

Please sign in to comment.