Changeset 29277

Show
Ignore:
Timestamp:
15.09.2014 10:15:43 (5 years ago)
Author:
kjdon
Message:

berrybasket cgi param is all lower case.

Location:
main/trunk/greenstone3/web/interfaces/default/js
Files:
2 modified

Legend:

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

    r26396 r29277  
    119119        var url = gs.xsltParams.library_name + "/collection/" + gs.cgiParams.c + "/browse/" + sectionID.replace(/\./g, "/") + "?excerptid=div" + sectionID; 
    120120 
    121         if(gs.cgiParams.berryBasket == "on") 
     121        if(gs.cgiParams.berrybasket == "on") 
    122122        { 
    123123            url = url + "&berrybasket=on"; 
    124         } 
     124        }  
    125125 
    126126        if(url.indexOf("#") != -1) 
     
    140140            openClassifiers[sectionID] = true;   
    141141             
    142             if(gs.cgiParams.berryBasket == "on") 
     142            if(gs.cgiParams.berrybasket == "on") 
    143143            { 
    144144                checkout(); 
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js

    r26429 r29277  
    669669            var url = gs.xsltParams.library_name + "/collection/" + gs.cgiParams.c + "/browse/" + sectionID.replace(/\./g, "/") + "?excerptid=div" + sectionID; 
    670670 
    671             if(gs.cgiParams.berryBasket == "on") 
     671            if(gs.cgiParams.berrybasket == "on") 
    672672            { 
    673673                url = url + "&berrybasket=on"; 
     
    690690                openClassifiers[sectionID] = true;   
    691691                 
    692                 if(gs.cgiParams.berryBasket == "on") 
     692                if(gs.cgiParams.berrybasket == "on") 
    693693                { 
    694694                    checkout();