You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2019/07/30 16:46:32 UTC
[myfaces-tobago] 01/02: TOBAGO-1633: TS refactoring: sheet tree
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit 5ce8408508e9450333012248cc85a7bb4568119a
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Jul 30 17:39:40 2019 +0200
TOBAGO-1633: TS refactoring: sheet tree
* fix tc:sheet with tree
---
.../tobago-theme-standard/src/main/npm/ts/tobago-tree.ts | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tree.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tree.ts
index 7f8da7a..6987feb 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tree.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-tree.ts
@@ -219,17 +219,6 @@ class Tree {
return parseInt(node.id.replace(/.+\:(\d+)(\:\w+)+/, '$1'));
};
- static findChildren = function (node: Element) {
- const treeParentSelector = "[data-tobago-tree-parent='" + node.id + "']";
- let children;
- if (Tree.isInSheet(node)) {
- children = jQuery(node).parent("td").parent("tr").nextAll().children().children(treeParentSelector);
- } else { // normal tree
- children = jQuery(node).nextAll(treeParentSelector);
- }
- return children;
- };
-
static findTreeChildren = function (treeNode: HTMLElement): NodeListOf<HTMLDivElement> {
if (Tree.isInSheet(treeNode)) {
return treeNode.closest("tbody")