Changeset 33286

Show
Ignore:
Timestamp:
02.07.2019 14:44:36 (2 weeks ago)
Author:
kjdon
Message:

standardising the basket names. berryBasket, favouriteBasket, documentBasket. variables etc will all follow this pattern. cgi params berrybasket, favouritebasket. etc

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

Legend:

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

    r33259 r33286  
    585585} 
    586586else { 
    587     // assumption is that favouritesbasket is on  
     587    // assumption is that favouritebasket is on  
    588588    YAHOO.util.Event.addListener(window, 'load', favouritesCheckout); 
    589589} 
  • main/trunk/greenstone3/web/interfaces/default/js/berrybasket/berrycheckout.js

    r33259 r33286  
    293293    } 
    294294    else { 
    295     // assumption is that favouritesbasket is on  
     295    // assumption is that favouritebasket is on  
    296296    showFullViewFavourites(); 
    297297    }     
  • main/trunk/greenstone3/web/interfaces/default/js/classifier_scripts.js

    r33259 r33286  
    129129            url = url + "&berrybasket=on"; 
    130130        }  
    131         if(gs.cgiParams.favouritesbasket == "on") 
     131        if(gs.cgiParams.favouritebasket == "on") 
    132132        { 
    133             url = url + "&favouritesbasket=on"; 
     133            url = url + "&favouritebasket=on"; 
    134134        }  
    135135 
     
    154154                    berryCheckout(); 
    155155            } 
    156             if(gs.cgiParams.favouritesbasket == "on") 
     156            if(gs.cgiParams.favouritebasket == "on") 
    157157            { 
    158158                favouritesCheckout(); 
  • main/trunk/greenstone3/web/interfaces/default/js/facet-scripts.js

    r33259 r33286  
    6060                    berryCheckout(); // called to add back in berries (if berrybasket active) 
    6161            } 
    62             if(gs.cgiParams.favouritesbasket == "on") { 
    63                     favouritesCheckout(); // called to add back in favourites icons (if favouritesbasket active) 
     62            if(gs.cgiParams.favouritebasket == "on") { 
     63                    favouritesCheckout(); // called to add back in favourites icons (if favouritebasket active) 
    6464            } 
    6565        });