Skip to content

Commit

Permalink
When rendering forms, toolbar should not be displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
AparnaKarve committed Jan 16, 2018
1 parent 256e9aa commit bfbc5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/generic_object_definition_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def render_form(title, form_partial)
presenter.replace(:main_div, r[:partial => form_partial])
presenter.hide(:paging_div)
presenter[:lock_sidebar] = true
build_toolbar("x_summary_view_tb")
presenter.set_visibility(false, :toolbar)

render :json => presenter.for_render
end
Expand Down

0 comments on commit bfbc5d1

Please sign in to comment.