Changeset 29280


Ignore:
Timestamp:
2014-09-15T11:33:29+12:00 (10 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.

File:
1 edited

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       
Note: See TracChangeset for help on using the changeset viewer.