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 2022/11/02 08:16:12 UTC
[myfaces-tobago] branch t5_selectMany updated: feat(selectMany): fix tobago-dropdown.ts
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch t5_selectMany
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/t5_selectMany by this push:
new 97887ef54d feat(selectMany): fix tobago-dropdown.ts
97887ef54d is described below
commit 97887ef54d2bd8ce3db4b4bbf811da1eba005ab2
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Wed Nov 2 09:16:04 2022 +0100
feat(selectMany): fix tobago-dropdown.ts
Issue: TOBAGO-2159
---
tobago-theme/tobago-theme-standard/src/main/ts/tobago-dropdown.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-dropdown.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-dropdown.ts
index 545b4d0152..e6931599c3 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-dropdown.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-dropdown.ts
@@ -46,21 +46,21 @@ class Dropdown extends HTMLElement {
}
openDropdown(): void {
- this.dispatchEvent(new CustomEvent(this.TobagoEvents.SHOW));
+ this.dispatchEvent(new CustomEvent(TobagoDropdownEvent.SHOW));
if (!this.insideNavbar()) {
MenuStore.appendChild(this.dropdownMenu);
}
- this.dispatchEvent(new CustomEvent(this.TobagoEvents.SHOWN));
+ this.dispatchEvent(new CustomEvent(TobagoDropdownEvent.SHOWN));
}
closeDropdown(): void {
- this.dispatchEvent(new CustomEvent(this.TobagoEvents.HIDE));
+ this.dispatchEvent(new CustomEvent(TobagoDropdownEvent.HIDE));
if (!this.insideNavbar()) {
this.appendChild(this.dropdownMenu);
}
- this.dispatchEvent(new CustomEvent(this.TobagoEvents.HIDDEN));
+ this.dispatchEvent(new CustomEvent(TobagoDropdownEvent.HIDDEN));
}
/**