Changeset 33323

Show
Ignore:
Timestamp:
11.07.2019 17:33:18 (6 days ago)
Author:
ak19
Message:

Forgot to remove some debugging.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js

    r33322 r33323  
    5353                    "mainDoc": true 
    5454                }; 
    55                 console.log("#### " + jsonNodes[i].nodeID + " is a main doc: "); 
    56                 console.log(jsonNodes[i]); 
     55                //console.log("#### " + jsonNodes[i].nodeID + " is a main doc: "); 
     56                //console.log(jsonNodes[i]); 
    5757                createOverlayItems(jsonNodes[i], options); 
    5858            } 
     
    275275    var url = gs.xsltParams.library_name; 
    276276    var data = "a=q&s=RawQuery&rt=rd&c=" + gs.cgiParams.c + "&s1.rawquery=" + query + "&excerptid=jsonNodes"; 
    277     //_gsDebug("*** performProximitySearch(): rawQuery query data = " + query); 
     277    _gsDebug("*** performProximitySearch(): rawQuery query data = " + query); 
    278278     
    279279    $.ajax({type:"POST", url:url, data:data}) 
     
    317317        else 
    318318        { 
    319             console.log("No JSON information received"); 
     319            console.log("map-scripts::performProximitySearch(): No JSON information received"); 
    320320        } 
    321321         
     
    366366    var nodeID; 
    367367     
    368     console.log("Sent off facetedMapSearch request to " + facet_request_url +  ", got response: "); 
    369     console.log(responseText); 
     368    //console.log("Sent off facetedMapSearch request to " + facet_request_url +  ", got response: "); 
     369    //console.log(responseText); 
    370370 
    371371    if(responseText.search("id=\"jsonNodes") != -1) { 
     
    373373        var endIndex = responseText.indexOf("</"); 
    374374        var jsonNodes = eval(responseText.substring(startIndex+1, endIndex)); 
    375         console.log(jsonNodes); 
    376      
     375        //console.log(jsonNodes);    
    377376         
    378377        if(jsonNodes && jsonNodes.length > 0) { 
    379             console.log("Got some nodes. Removing all markers first..."); 
     378        //console.log("Faceted search got some nodes. Removing all markers first..."); 
    380379 
    381380         
     
    401400            "mainDoc": true 
    402401            }; 
    403             console.log("#### " + jsonNodes[i].nodeID + " is a main doc: "); 
    404             console.log(jsonNodes[i]); 
    405402            createOverlayItems(jsonNodes[i], options); 
    406403        }