Project

General

Profile

Defect #33255 » 0001-Fix-issue-inline-auto-complete-in-issues-bulk-edit-p.patch

Marius BĂLTEANU, 2020-04-05 11:39

View differences:

app/helpers/custom_fields_helper.rb
129 129
  # Returns the custom field tag for when bulk editing objects
130 130
  def custom_field_tag_for_bulk_edit(prefix, custom_field, objects=nil, value='')
131 131
    css =  custom_field.css_classes
132
    data = nil
132 133
    if custom_field.full_text_formatting?
133 134
      css += ' wiki-edit'
135
      data = {
136
        :auto_complete => true,
137
        :issues_url => auto_complete_issues_path(:q => '')
138
      }
134 139
    end
135 140
    custom_field.format.bulk_edit_tag(
136 141
      self,
......
139 144
      custom_field,
140 145
      objects,
141 146
      value,
142
      :class => css)
147
      :class => css,
148
      :data => data)
143 149
  end
144 150

  
145 151
  # Returns custom field value tag
    (1-1/1)