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/06/13 07:52:44 UTC

[myfaces-tobago] branch master updated: TOBAGO-1633: TS refactoring: sheet: select text after click pager

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


The following commit(s) were added to refs/heads/master by this push:
     new b4bc01f  TOBAGO-1633: TS refactoring: sheet: select text after click pager
b4bc01f is described below

commit b4bc01f155e0ee226878ea1659d409e8d2e103ee
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Jun 13 09:52:31 2019 +0200

    TOBAGO-1633: TS refactoring: sheet: select text after click pager
---
 tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts
index cdbb1f4..b332208 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-sheet.ts
@@ -428,7 +428,7 @@ class Sheet {
     const input = <HTMLInputElement>element.querySelector(".tobago-sheet-pagingInput");
     input.style.display = "initial";
     input.focus();
-    input.dispatchEvent(new Event("select"));
+    input.select();
   }
 
   blurPaging(event: FocusEvent) {