summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-01-13 06:30:49 +0000
committerGo MAEDA <maeda@farend.jp>2021-01-13 06:30:49 +0000
commitac015d49f9c6778420a9e5cac78ac44f5845a346 (patch)
tree2f198f9118cf7f1b672a333f2f207c274525de10 /lib
parentea08c3aa8174c04a75f9f64eb7dab21fcd728a8c (diff)
downloadredmine-ac015d49f9c6778420a9e5cac78ac44f5845a346.tar.gz
redmine-ac015d49f9c6778420a9e5cac78ac44f5845a346.zip
Drag and drop file upload to file type custom field (#30776).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20712 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/field_format.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index 32b645d1d..70a60a577 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -1070,7 +1070,8 @@ module Redmine
:multiple => false,
:description => false,
:saved_attachments => [attachment].compact,
- :filedrop => false
+ :filedrop => true,
+ :attachment_format_custom_field => true
})
end
end