Commit f5c96e8b authored by Franziska Koehn's avatar Franziska Koehn
Browse files

logs deleted

parent 184cc9cf
......@@ -28,7 +28,6 @@
<script>
var handleFiles = function(file){
console.log(file)
var reader = new FileReader();
reader.onload = function(file) {
set_root_type(JSON.parse(file.target.result).root,
......@@ -40,7 +39,6 @@
}
var set_root_type = function(rt, cb) {
console.log("srt", rt);
$('#step1_1').load("/set_root_type?t="+rt, cb);
$("#roottypes button").html(rt + '<span class="caret"></span>');
};
......
......@@ -35,7 +35,6 @@
};
update_tree = function() {
console.log("t", model);
var el = $("#tree");
el.children().remove();
......@@ -99,7 +98,7 @@
var passw = $('input[id="inputPassw"]').val();
var user = $('input[id="inputUser"]').val();
var host = $('input[id="inputHost"]').val();
$.ajax("/send_query", { success: function(data) { console.log(data);
$.ajax("/send_query", { success: function(data) {
var newDoc = document.open("text/html", "replace");
newDoc.write(data);
newDoc.close();
......@@ -112,7 +111,6 @@
var add_to_model = function(m) {
var i2;
console.log("add", m);
if (m[0] == "AND" || m[0] == "OR") { // conjunktion
var rest = [];
for (i2 = 1; i2 < m.length; i2++) // über rest der selben ebene
......@@ -131,7 +129,6 @@
for (i = 0; i < jsonobj.query.length; i++) {
new_model.push(add_to_model(jsonobj.query[i]));
}
console.log(new_model);
model = new_model;
update_tree();
......@@ -143,13 +140,8 @@
};
var downloadquery = function(){
console.log("download query");
var selecfields = getselectedfields();
$.download("/downl_query", {"model":JSON.stringify(model), "fields":JSON.stringify(selecfields)}, "POST");
/*$.ajax("/downl_query", { success: function(data) {
console.log(data);
},
data:{"model":JSON.stringify(model), "fields":JSON.stringify(selecfields)}, method:"POST" });*/
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment