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 2019/12/18 08:53:19 UTC
[myfaces-tobago] 03/06: todo-comment for a problem to solve
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit e1cf8c3ad589a3da502d42329bd2bdb5a51c215f
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Dec 13 12:41:26 2019 +0100
todo-comment for a problem to solve
---
.../src/main/npm/ts/tobago-command.ts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-command.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-command.ts
index 59e3142..a1daddb 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-command.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-command.ts
@@ -187,6 +187,21 @@ class Behavior extends HTMLElement {
return this.parentElement;
}
}
+
+ /* XXX todo:
+ get element(): HTMLElement {
+ let e = this.parentElement;
+ // XXX special case, using the row, but <tobago-behavior> can't be a child of <tr>
+ while (e.matches("td.tobago-sheet-cell-markup-filler")
+ // XXX fix position of <tobago-behavior> inside of input-group
+ || e.matches(".input-group")
+ || e.matches(".tobago-input-group-outer")) {
+ e = e.parentElement;
+ }
+ return e;
+ }
+ */
+
}
document.addEventListener("DOMContentLoaded", function (event: Event): void {