Mercurial > hg > soundsoftware-site
annotate .svn/pristine/b7/b78c7ec646e723ff6c09d4c98b23c002509a7c88.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 api.array :projects, api_meta(:total_count => @project_count, :offset => @offset, :limit => @limit) do |
Chris@909 | 2 @projects.each do |project| |
Chris@909 | 3 api.project do |
Chris@909 | 4 api.id project.id |
Chris@909 | 5 api.name project.name |
Chris@909 | 6 api.identifier project.identifier |
Chris@909 | 7 api.description project.description |
Chris@909 | 8 api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible? |
Chris@909 | 9 |
Chris@909 | 10 render_api_custom_values project.visible_custom_field_values, api |
Chris@909 | 11 |
Chris@909 | 12 api.created_on project.created_on |
Chris@909 | 13 api.updated_on project.updated_on |
Chris@909 | 14 end |
Chris@909 | 15 end |
Chris@909 | 16 end |