diff --git a/frontend/src/lib/storage-manager/storage-manager.js b/frontend/src/lib/storage-manager/storage-manager.js index 6a669e76e..d2461518c 100644 --- a/frontend/src/lib/storage-manager/storage-manager.js +++ b/frontend/src/lib/storage-manager/storage-manager.js @@ -381,8 +381,9 @@ export class StorageManager { }).catch(console.error); } - _debugLog(fName, ...args) { - console.log(`[DEBUGLOG] StorageManager.${fName}`, { args: args, instance: this }); + _debugLog() { + // _debugLog(fName, ...args) { + // console.log(`[DEBUGLOG] StorageManager.${fName}`, { args: args, instance: this }); } } diff --git a/frontend/src/utils/exam-correct/exam-correct.js b/frontend/src/utils/exam-correct/exam-correct.js index e321c6e8a..6bf962d63 100644 --- a/frontend/src/utils/exam-correct/exam-correct.js +++ b/frontend/src/utils/exam-correct/exam-correct.js @@ -221,7 +221,7 @@ export class ExamCorrect { results[partKey] = parseFloat(input.value); } } - console.log('results', results); + // console.log('results', results); const result = this._resultSelect && this._resultSelect.value !== 'none' && this._resultSelect.value; @@ -247,7 +247,7 @@ export class ExamCorrect { if (results) body.results = results; if (result) body.grade = result === 'result' ? this._resultGradeSelect.value : (result === 'delete' ? null : result); - console.log('request body', body); + // console.log('request body', body); this._app.httpClient.post({ url: EXAM_CORRECT_URL_POST, @@ -325,14 +325,14 @@ export class ExamCorrect { date: null, }; - console.log('response', response); + // console.log('response', response); const candidateRows = (targetRow && [targetRow]) || [...this._element.rows]; for (let row of candidateRows) { let userElem = row.cells.item(this._cIndices.get('user')); const userIdent = userElem && userElem.getAttribute(EXAM_CORRECT_USER_ATTR); // TODO use other attribute identifier if (userIdent === user) { - console.log('response-update', row); + // console.log('response-update', row); let status = STATUS.FAILURE; switch (response.status) { case 'success': @@ -480,7 +480,7 @@ export class ExamCorrect { } _addRow(rowInfo) { - console.log('rowInfo', rowInfo); + // console.log('rowInfo', rowInfo); // TODO create and use template for this const newRow = document.createElement('TR'); newRow.classList.add('table__row'); diff --git a/frontend/src/utils/hide-columns/hide-columns.js b/frontend/src/utils/hide-columns/hide-columns.js index 77382e322..312bb1024 100644 --- a/frontend/src/utils/hide-columns/hide-columns.js +++ b/frontend/src/utils/hide-columns/hide-columns.js @@ -222,8 +222,8 @@ export class HideColumns { hider.style.top = thR.height + 'px'; } - _tableMutated(mutationList, observer) { - console.log('_tableMutated', mutationList, observer); + _tableMutated(mutationList) { + // console.log('_tableMutated', mutationList, observer); if (!Array.from(mutationList).some(mutation => mutation.type === 'childList')) return;