Skip to content

Commit 05857f1

Browse files
Fix settings category edit page
1 parent 1a9995f commit 05857f1

File tree

1 file changed

+6
-1
lines changed
  • app/controllers/ops_controller/settings

1 file changed

+6
-1
lines changed

app/controllers/ops_controller/settings/tags.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ def save_category
6969
category = Classification.find(params[:id])
7070
add_flash(_("Category \"%{name}\" was saved") % {:name => category.name})
7171
get_node_info(x_node)
72-
replace_right_cell(:nodetype => "root")
72+
render :update do |page|
73+
page << javascript_prologue
74+
page.replace("flash_msg_div", :partial => "layouts/flash_msg")
75+
page << "miqScrollTop();" if @flash_array.present?
76+
page.replace_html('my_company_categories', :partial => 'settings_my_company_categories_tab')
77+
end
7378
end
7479

7580
def category_form

0 commit comments

Comments
 (0)