undefined local variable or method 'disabled'

This commit is contained in:
Karel Pičman 2025-07-04 08:18:23 +02:00
parent 9d1aa70ad7
commit 411625fb47
3 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Changelog for Redmine DMSF
==========================
4.1.4 *????-??-??*
4.2.0 *????-??-??*
------------------
4.1.3 *2025-05-09*

View File

@ -252,13 +252,8 @@
selected: RedmineDmsf.dmsf_webdav? ? '1' : '0'),
onchange: "$('#dmsf_webdav_block').toggle()" %>
<em class="info">
<% if disabled %>
<% @settings['dmsf_webdav'] = '0' %>
<%= l(:note_webdav_disabled) %>
<% else %>
<%= l(:note_webdav, protocol: Setting.protocol, domain: Setting.host_name) %><br>
<%= l(:label_default) %>: <%= l(:select_option_deactivated) %>
<% end %>
</em>
</p>

View File

@ -27,7 +27,7 @@ Redmine::Plugin.register :redmine_dmsf do
author_url 'https://github.com/picman/redmine_dmsf/graphs/contributors'
author 'Vít Jonáš / Daniel Munn / Karel Pičman'
description 'Document Management System Features'
version '4.1.3'
version '4.2.0 devel'
requires_redmine version_or_higher: '6.0.0'