diff -r 0aa26796c69c -r 47aa37d3e750 client/js/space-editor.js --- a/client/js/space-editor.js Thu Jun 06 18:48:57 2013 +0200 +++ b/client/js/space-editor.js Thu Jun 13 14:31:35 2013 +0200 @@ -174,7 +174,7 @@ ldtsection.hide(); } - if (data.type === "Wikipedia" || data.type === "Twitter" || (data.type === "Ldt" && data.ldt_type === "Results")) { + if (data.type === "Wikipedia" || (data.type === "Ldt" && data.ldt_type === "Results")) { data.search = kwfield.val(); kwdisplay.text(data.search); kwsection.show(); @@ -286,7 +286,7 @@ } - if (data.type === "Wikipedia" || data.type === "Twitter" || (data.type === "Ldt" && data.ldt_type === "Results")) { + if (data.type === "Wikipedia" || (data.type === "Ldt" && data.ldt_type === "Results")) { kwfield.val(data.search || ""); } @@ -326,14 +326,16 @@ $(".add-search-engine").click(function() { addSearchEngine({ - type:"Twitter" + type: "Wikipedia", + lang: "en" }, true); return false; }); $(".add-bin").click(function() { addBin({ - type:"Twitter", + type: "Wikipedia", + lang: "en", search: "" }, true); return false;