Changeset 36882


Ignore:
Timestamp:
2022-11-04T13:35:16+13:00 (5 weeks ago)
Author:
kjdon
Message:

missing definition of request_type - only caused a problem in chrome, not firefox, so didn't notice it...

File:
1 edited

Legend:

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

    r36071 r36882  
    145145    var delurl = gs.xsltParams.library_name + "?a=pr&rt=r&ro=1&s=DeleteItems&c=&o=XML&hhf="+makeURLComponentSafe("[{\"name\":\"Cache-Control\", \"value\":\"no-cache\"}]")+"&s1.items=" + el.id;
    146146
     147    var request_type = "GET";
    147148    var delSuccess = function(o){
    148149
     
    191192}
    192193
    193 if(gs.cgiParams.berrybasket == "on")
    194 {
    195     YAHOO.util.Event.addListener(window, 'load', berryCheckout);
    196 }
    197 else {
    198     // assumption is that favouritebasket is on
    199     YAHOO.util.Event.addListener(window, 'load', favouritesCheckout);
    200 }
    201 
     194YAHOO.util.Event.addListener(window, 'load', favouritesCheckout);
    202195//YAHOO.util.Event.addListener(window, 'click', basketUpdate);
    203196
Note: See TracChangeset for help on using the changeset viewer.