This commit is contained in:
Patrick Jentsch
2020-03-12 14:13:07 +01:00
parent fa7d2da973
commit 416c724f70
3 changed files with 20 additions and 92 deletions

View File

@ -270,7 +270,7 @@
function sendQuery(event) {
event.preventDefault();
queryData = getQueryData(queryFormElement);
nopaque.socket.emit("corpus_analysis", queryData);
nopaque.socket.emit("corpus_analysis_query", queryData.query);
// full results object declaration, kind of global maybe store it later?
// will always be reset if a query is sent, so that only the chunks of the
// current query will be saved in it