You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/09/05 06:30:22 UTC
[myfaces-tobago] branch tobago-5.x updated: refactor: remove logging (#3131)
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-5.x by this push:
new 0a702d749c refactor: remove logging (#3131)
0a702d749c is described below
commit 0a702d749c1ddd9ec005d3bb9a7165911258db8e
Author: Udo Schnurpfeil <gi...@schnurpfeil.de>
AuthorDate: Mon Sep 5 08:30:17 2022 +0200
refactor: remove logging (#3131)
Co-authored-by: Udo Schnurpfeil <ud...@irian.eu>
---
tobago-theme/tobago-theme-standard/src/main/ts/tobago-sheet.ts | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-sheet.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-sheet.ts
index 3f172b3781..86582418cd 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-sheet.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-sheet.ts
@@ -609,8 +609,6 @@ Type: ${data.type}`);
}
clickOnCheckboxForAll(event: MouseEvent): void {
- console.log("clickOnCheckboxForAll ***********");
- console.time("clickOnCheckboxForAll");
const selectedSet = new Set<number>(JSON.parse(this.getHiddenSelected().value));
const checkbox = event.currentTarget as HTMLInputElement;
if (checkbox.checked) {
@@ -619,12 +617,9 @@ Type: ${data.type}`);
this.deselectAll(selectedSet);
}
this.getHiddenSelected().value = JSON.stringify(Array.from(selectedSet)); // write back to element
- console.timeEnd("clickOnCheckboxForAll");
}
clickOnRow(event: MouseEvent): void {
- console.log("clickOnRow ***********");
- console.time("clickOnRow");
const row = event.currentTarget as HTMLTableRowElement;
if (row.classList.contains("tobago-selected") || !Sheet.isInputElement(row)) {
@@ -662,7 +657,6 @@ Type: ${data.type}`);
}
this.getHiddenSelected().value = JSON.stringify(Array.from(selectedSet)); // write back to element
}
- console.timeEnd("clickOnRow");
}
clickOnPaging(event: MouseEvent): void {