"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/helpers/custom_fields_helper.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

custom_fields_helper.rb  (redmine-4.1.0):custom_fields_helper.rb  (redmine-4.1.1)
skipping to change at line 89 skipping to change at line 89
# Return custom field html tag corresponding to its format # Return custom field html tag corresponding to its format
def custom_field_tag(prefix, custom_value) def custom_field_tag(prefix, custom_value)
css = "#{custom_value.custom_field.field_format}_cf" css = "#{custom_value.custom_field.field_format}_cf"
data = nil data = nil
if custom_value.custom_field.full_text_formatting? if custom_value.custom_field.full_text_formatting?
css += ' wiki-edit' css += ' wiki-edit'
data = { data = {
:auto_complete => true, :auto_complete => true,
:issues_url => auto_complete_issues_path(:project_id => custom_value.cus tomized.project, :q => '') :issues_url => auto_complete_issues_path(:project_id => custom_value.cus tomized.project, :q => '')
} if custom_value.customized && custom_value.customized.project } if custom_value.customized&.try(:project)
end end
custom_value.custom_field.format.edit_tag( custom_value.custom_field.format.edit_tag(
self, self,
custom_field_tag_id(prefix, custom_value.custom_field), custom_field_tag_id(prefix, custom_value.custom_field),
custom_field_tag_name(prefix, custom_value.custom_field), custom_field_tag_name(prefix, custom_value.custom_field),
custom_value, custom_value,
:class => css, :class => css,
:data => data) :data => data)
end end
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)