Ignore:
Timestamp:
Apr 12, 2011, 4:21:26 PM (11 years ago)
Author:
robert@…
Message:

Solved small issues with study view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/createTimelineBandsJs.gsp

    r1645 r1768  
    101101
    102102                // We can only show appr. 30 characters per line and as many lines as there are events
    103                 def charsPerLine = 30;
    104                 def numEvents = eventGroup.events?.size();
     103                def charsPerLine = 40;
     104                def numEvents = eventGroup.events?.size() + eventGroup.samplingEvents?.size();
    105105                Integer maxChars = new Integer( numEvents * charsPerLine );
    106 
     106               
    107107                showSubjects = Subject.trimSubjectNames( sortedGroupSubjects, maxChars );
    108108          %>
    109          
     109
    110110          bandTitleInfo[ timelineNr ][ ${bandNr} ] = {
    111111                title: "${eventGroup.name}",
Note: See TracChangeset for help on using the changeset viewer.