summaryrefslogtreecommitdiffstats
path: root/app/controllers/context_menus_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-05-02 07:32:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-05-02 07:32:41 +0000
commit382ca5055a3a28726b5b66cb79856fbeaaaf73e9 (patch)
tree3b0fab98a69df63a1eaae9e54cf1265f89513c03 /app/controllers/context_menus_controller.rb
parent2d3f3cd9aa45dfa9317b14c9d877243b0f718a63 (diff)
downloadredmine-382ca5055a3a28726b5b66cb79856fbeaaaf73e9.tar.gz
redmine-382ca5055a3a28726b5b66cb79856fbeaaaf73e9.zip
Field set as read-only still available in the issues list context menu (#16755).
git-svn-id: http://svn.redmine.org/redmine/trunk@13124 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/context_menus_controller.rb')
-rw-r--r--app/controllers/context_menus_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb
index a17304880..2b174c016 100644
--- a/app/controllers/context_menus_controller.rb
+++ b/app/controllers/context_menus_controller.rb
@@ -55,7 +55,7 @@ class ContextMenusController < ApplicationController
@options_by_custom_field = {}
if @can[:edit]
- custom_fields = @issues.map(&:available_custom_fields).reduce(:&).reject(&:multiple?)
+ custom_fields = @issues.map(&:editable_custom_fields).reduce(:&).reject(&:multiple?)
custom_fields.each do |field|
values = field.possible_values_options(@projects)
if values.present?