Skip to content

Commit

Permalink
Merge branch 'patch-2' of https://github.com/freedayko/redmine_backlogs
Browse files Browse the repository at this point in the history
… into freedayko-patch-2
  • Loading branch information
bohansen committed Jun 29, 2014
2 parents 81bf652 + 901e28a commit c171804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backlogs_hooks.rb
Expand Up @@ -137,7 +137,7 @@ def view_issues_form_details_bottom(context={ })
if Backlogs.setting[:story_points].blank?
snippet += context[:form].text_field(:story_points, :size => 3)
else
snippet += context[:form].select(:story_points, options_for_select(Backlogs.setting[:story_points].split(',').map(&:to_i), issue.story_points.try(:to_i).try(:to_s)), include_blank: true)
snippet += context[:form].select(:story_points, options_for_select(Backlogs.setting[:story_points].split(',').map(&:to_f), issue.story_points.try(:to_f).try(:to_s)), include_blank: true)
end
snippet += '</p>'

Expand Down

0 comments on commit c171804

Please sign in to comment.