Actions
Defect #2863
closedWhen categories list is too big the popup menu doesn't adjust (ex. in the issue list)
Start date:
2009-02-28
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
If you have a too many categories and right-click on an issue to set the category of choice, some categories may not be visible since they are not viewable and no scrollbar pop ups.
Possible solution: div overflow: auto; together with a maximum div size should fix this?
Also added a rake script to auto-add cateogires to a project STDIN:
namespace :project do
cats = ['Category1', 'Category2']
task(:categories=> :environment) do
value = STDIN.gets.chomp!
for p in Project.find(:all, :conditions => "name = '#{value}'")
for cp in cats
if not p.issue_categories.exists?(:name => "#{cp}")
p.issue_categories.create(:name => cp)
end
end
end
end
end
~
Files
Actions