~ben-hutchings/ensoft-sextant/objdump-parser-nogrep-opt

« back to all changes in this revision

Viewing changes to resources/sextant/web/queryjavascript.js

  • Committer: Ben Hutchings
  • Date: 2014-11-19 15:51:20 UTC
  • Revision ID: benh@ensoft.co.uk-20141119155120-9jfl1b5amatxxlp0
limit to internal calls tickbox

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    else{
164
164
        //If not function names we will want a graph as an output; 
165
165
        //url returns svg file of graph.
166
 
                // We use a random number argument to prevent caching.
 
166
        // We use a random number argument to prevent caching.
167
167
        var string = "/output_graph.svg?stop_cache=" + String(Math.random()) + "&program_name=" + 
168
168
            document.getElementById("program_name").value + 
169
169
            "&query=" + query_id + "&func1=";
171
171
            "&func2=" + document.getElementById("function_2").value;
172
172
        string = string + "&suppress_common=" + 
173
173
            document.getElementById('suppress_common').checked.toString();
 
174
        string = string + "&limit_internal=" + 
 
175
            document.getElementById('limit_internal').checked.toString();
 
176
    }
174
177
 
175
 
    }
176
178
    var xmlhttp = new XMLHttpRequest();
177
179
        xmlhttp.open("GET", string, true);
178
180
        xmlhttp.send();