mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fix issue inline auto complete in issues bulk edit page for custom fields with text formatting enabled (#33255).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19693 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9e6e2573bc
commit
5fe6aa0fc0
@ -129,8 +129,13 @@ module CustomFieldsHelper
|
||||
# Returns the custom field tag for when bulk editing objects
|
||||
def custom_field_tag_for_bulk_edit(prefix, custom_field, objects=nil, value='')
|
||||
css = custom_field.css_classes
|
||||
data = nil
|
||||
if custom_field.full_text_formatting?
|
||||
css += ' wiki-edit'
|
||||
data = {
|
||||
:auto_complete => true,
|
||||
:issues_url => auto_complete_issues_path(:q => '')
|
||||
}
|
||||
end
|
||||
custom_field.format.bulk_edit_tag(
|
||||
self,
|
||||
@ -139,7 +144,8 @@ module CustomFieldsHelper
|
||||
custom_field,
|
||||
objects,
|
||||
value,
|
||||
:class => css)
|
||||
:class => css,
|
||||
:data => data)
|
||||
end
|
||||
|
||||
# Returns custom field value tag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user