From 2cf172e897d9f73dc0acd81eab00f247bbe1f56b Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 16 Mar 2026 20:56:38 +0000 Subject: [PATCH] Fixes custom field preview does not work on bulk issue edit (#43804). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24502 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/bulk_edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb index 6adc5a0ef..e0fe9175d 100644 --- a/app/views/issues/bulk_edit.html.erb +++ b/app/views/issues/bulk_edit.html.erb @@ -213,7 +213,7 @@ <%= custom_field_tag_for_bulk_edit('issue', custom_field, @issues, @issue_params[:custom_field_values][custom_field.id.to_s]) %>

- <%= wikitoolbar_for "issue_custom_field_values_#{custom_field.id}", preview_issue_path(:project_id => @project, :issue_id => nil) if custom_field.full_text_formatting? %> + <%= wikitoolbar_for "issue_custom_field_values_#{custom_field.id}", (@project ? preview_issue_path(:project_id => @project, :issue_id => nil) : preview_text_path) if custom_field.full_text_formatting? %> <% end %>