From 43a198e119082d577c133e92bb2e2935bc59807c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 7 Jun 2022 12:42:40 +0200 Subject: [PATCH] Conflict with plugin redmine_issue_evm #1363 --- app/views/settings/_dmsf_settings.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/settings/_dmsf_settings.html.erb b/app/views/settings/_dmsf_settings.html.erb index 4f858bbc..b4ecc51a 100644 --- a/app/views/settings/_dmsf_settings.html.erb +++ b/app/views/settings/_dmsf_settings.html.erb @@ -85,7 +85,8 @@ <%= text_field_tag 'settings[office_bin]', @settings['office_bin'], size: 10 %> <% unless RedmineDmsf::Preview.office_available? %> - <%= l(:note_dmsf_office_bin_not_available, @settings['office_bin']) %> + <% @settings['office_bin'] = nil %> + <%= l(:note_dmsf_office_bin_not_available, @settings['office_bin'] ||= 'libreoffice') %> <% end %>