mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
FIx Typos
This commit is contained in:
parent
b6986e2581
commit
3cb71c2acb
@ -78,7 +78,7 @@ class Client {
|
|||||||
detailObject.notificationType = notificationType;
|
detailObject.notificationType = notificationType;
|
||||||
detailObject.raiseModalFeedback = raiseModalFeedback;
|
detailObject.raiseModalFeedback = raiseModalFeedback;
|
||||||
const event = new CustomEvent('notify-view', { detail: detailObject });
|
const event = new CustomEvent('notify-view', { detail: detailObject });
|
||||||
console[notificationType]('Client dispatching Notification with detail object in details:',
|
console[notificationType]('Client dispatching Notification with details:',
|
||||||
detailObject);
|
detailObject);
|
||||||
document.dispatchEvent(event);
|
document.dispatchEvent(event);
|
||||||
}
|
}
|
||||||
@ -136,7 +136,7 @@ class Client {
|
|||||||
tmp_first_cpos.push(results.data.matches[dataIndex].c[0]);
|
tmp_first_cpos.push(results.data.matches[dataIndex].c[0]);
|
||||||
tmp_last_cpos.push(results.data.matches[dataIndex].c[1]);
|
tmp_last_cpos.push(results.data.matches[dataIndex].c[1]);
|
||||||
}
|
}
|
||||||
nopaque.socket.emit("corpus_analysis_get_match_with_full_context",
|
nopaque.socket.emit('corpus_analysis_get_match_with_full_context',
|
||||||
{type: resultsType,
|
{type: resultsType,
|
||||||
data_indexes: dataIndexes,
|
data_indexes: dataIndexes,
|
||||||
first_cpos: tmp_first_cpos,
|
first_cpos: tmp_first_cpos,
|
||||||
|
@ -81,7 +81,8 @@ function saveQueryData() {
|
|||||||
function getResultsData() {
|
function getResultsData() {
|
||||||
let [resultsType, dataIndexes, resultsList, client, results, rest] = arguments;
|
let [resultsType, dataIndexes, resultsList, client, results, rest] = arguments;
|
||||||
client.isBusy = true;
|
client.isBusy = true;
|
||||||
if (resultsList.exportFullInspectContext.checked || resultsType === 'inspect-results') {
|
if (resultsList.exportFullInspectContext.checked
|
||||||
|
|| resultsType === 'inspect-results') {
|
||||||
console.info('Get results with full context');
|
console.info('Get results with full context');
|
||||||
client.getResultsData(resultsType, dataIndexes, results);
|
client.getResultsData(resultsType, dataIndexes, results);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user