From ca5a9c6eca235debeea0cce7d677a93bc71c2ccb Mon Sep 17 00:00:00 2001 From: PanSpagetka Date: Tue, 9 Apr 2019 09:20:55 +0200 Subject: [PATCH] Remove x_edit_buttons from Catalog Edit Tags --- app/controllers/catalog_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index a013782c03a..ccdd92fb33d 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -2039,7 +2039,6 @@ def replace_right_cell(options = {}) :ajax_buttons => true } presenter.show(:form_buttons_div).remove_paging - presenter.update(:form_buttons_div, r[:partial => "layouts/x_edit_buttons", :locals => locals]) elsif record_showing || @in_a_form || @sb[:buttons_node] || (@pages && (@items_per_page == ONE_MILLION || @pages[:items] == 0)) if %w[button_edit group_edit group_reorder at_st_new st_new st_catalog_new st_catalog_edit].include?(action)