Changeset 29280

Show
Ignore:
Timestamp:
15.09.2014 11:33:29 (5 years ago)
Author:
kjdon
Message:

made the text a bit longer as there was more room in my basket. Note each item is two lines. If the original intention was to have it on one line, then need to make it much shorter. Also display the collection the doc comes from.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/berrybasket/berrybasket.js

    r25728 r29280  
    207207 
    208208        title = root_title+title; 
    209         if (title.length > 50){ 
    210             title = title.substring(0,20)+" ... "+title.substr(title.length-35,35); 
     209        title += " ("+berryItem.getAttribute('collection')+")"; 
     210        if (title.length > 76){ 
     211            title = title.substring(0,30)+" ... "+title.substr(title.length-45,45); 
    211212        } 
    212213