analyzer/webui/ferret.js
//submit a query based on the demo currently loaded in the example pane
submit a query based on the demo currently loaded in the example pane
submit a query based on the demo currently loaded in the example pane
function submitQuery(eventData) {
  $.ajax ({
    url: "http://127.0.0.1:8080/entry-point/getDetailedResultsForQuery",
    type: "POST",
    dataType: "json",
    data: { q : JSON.stringify(currentDemo) },
    mimeType: "application/json", 
    success: function (data) {
      console.log(data);
      $("#status").html("Retrieved summary results ...");
    },
    error: function(xhr, status, error) {
      console.log(xhr);
      $("#status").html("Failed Ajax query...");
      alert("Error: " + xhr.blah);
    } 
  });
}
function submitQuery ( eventData ) { $ . ajax ( { url : "http://127.0.0.1:8080/entry-point/getDetailedResultsForQuery" , type : "POST" , dataType : "json" , data : { q : JSON . stringify ( currentDemo ) } , mimeType : "application/json" , success : function ( data ) { console . log ( data ) ; $ ( "#status" ) . html ( "Retrieved summary results ..." ) ; } , error : function ( xhr , status , error ) { console . log ( xhr ) ; $ ( "#status" ) . html ( "Failed Ajax query..." ) ; alert ( "Error: " + xhr . blah ) ; } } ) ; }
submit a query based on the demo currently loaded in the example pane
submit a query based on the demo currently loaded in the example pane
//      displayDetailedResults(data);