You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2024/09/20 13:18:05 UTC

(myfaces-tobago) branch main updated (e4f0f819e9 -> 3e4e9e8976)

This is an automated email from the ASF dual-hosted git repository.

bommel pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


    from e4f0f819e9 feat: add data attribute support for FacesMessages
     new 086bbcf9df fix(columnSelector): TypeError with columnSelector and empty sheet
     new 3e4e9e8976 fix(columnSelector): TypeError with columnSelector and empty sheet

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js                | 2 +-
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map            | 2 +-
 .../tobago-theme-standard/src/main/ts/tobago-column-selector.ts         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


(myfaces-tobago) 01/02: fix(columnSelector): TypeError with columnSelector and empty sheet

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 086bbcf9df166e8f1307eb4ed2ddeadbce42b022
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Fri Sep 20 15:06:11 2024 +0200

    fix(columnSelector): TypeError with columnSelector and empty sheet
    
    issue: TOBAGO-2360
---
 .../tobago-theme-standard/src/main/ts/tobago-column-selector.ts         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-column-selector.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-column-selector.ts
index db251bfc51..9f5cad7bf7 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-column-selector.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-column-selector.ts
@@ -42,6 +42,6 @@ export class ColumnSelector {
   public get disabled(): boolean {
     const rowElement = this.sheet
         .querySelector<HTMLInputElement>("tr[row-index] input[name^='" + this.sheet.id + "_data_row_selector']");
-    return rowElement.disabled;
+    return rowElement && rowElement.disabled;
   }
 }


(myfaces-tobago) 02/02: fix(columnSelector): TypeError with columnSelector and empty sheet

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 3e4e9e89762818918a46110953c7d7cf1b73225a
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Fri Sep 20 15:06:46 2024 +0200

    fix(columnSelector): TypeError with columnSelector and empty sheet
    
    issue: TOBAGO-2360
---
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js     | 2 +-
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
index 6beda6f1ea..b1c62ac191 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
@@ -15,5 +15,5 @@ const $e=new Map,Pe={set(e,t,s){$e.has(e)||$e.set(e,new Map);const i=$e.get(e);i
       ${s>0?" tabindex='"+String(s)+"'":""}
       @click="${this.removeBadge.bind(this)}"
       @focus="${this.focusEvent.bind(this)}"
-      @blur="${this.blurEvent.bind(this)}"><i class='bi-x-lg'></i></button>`}removeBadge(e){var t;const s=e.target.closest(".btn-group").dataset.tobagoValue,i=this.hiddenSelect.querySelector(`[value="${s}"]`);i.selected=!1;const n=this.badges.querySelector(`[data-tobago-value="${s}"]`),o=n.previousElementSibling,r="SPAN"===(null===(t=n.nextElementSibling)||void 0===t?void 0:t.tagName)?n.nextElementSibling:null;o?o.querySelector("button.btn.badge").focus():r?r.querySelector("button.btn.ba [...]
+      @blur="${this.blurEvent.bind(this)}"><i class='bi-x-lg'></i></button>`}removeBadge(e){var t;const s=e.target.closest(".btn-group").dataset.tobagoValue,i=this.hiddenSelect.querySelector(`[value="${s}"]`);i.selected=!1;const n=this.badges.querySelector(`[data-tobago-value="${s}"]`),o=n.previousElementSibling,r="SPAN"===(null===(t=n.nextElementSibling)||void 0===t?void 0:t.tagName)?n.nextElementSibling:null;o?o.querySelector("button.btn.badge").focus():r?r.querySelector("button.btn.ba [...]
 //# sourceMappingURL=tobago.js.map
diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
index d4e5863be3..ab0a9be973 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
@@ -1 +1 @@
-{"version":3,"file":"tobago.js","sources":["../ts/tobago-css.ts","../ts/tobago-collapse-operation.ts","../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@poppe [...]
\ No newline at end of file
+{"version":3,"file":"tobago.js","sources":["../ts/tobago-css.ts","../ts/tobago-collapse-operation.ts","../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@poppe [...]
\ No newline at end of file