Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Find Work Gadget does not work in Chrome and Safari browsers

SA-10793

Summary



Find Work Gadget does not work on User Portal Screen in Chrome or Safari browser whereas it works fine in IE.

In IE, once you enter text in the Search box and press Enter, a window pops up listing all search results based on the input text.

The same functionality does not work in Chrome or Safari browser. Once user hits the Enter key, nothing happens.


Error Messages



Not Applicable

Steps to Reproduce



1. Launch the Application User Portal in Chrome or Safari browser.
2. Input any text in the "Find Work Gadget" search box.
3. Press the Enter key.


Root Cause



The browser is incompatible on the keypress event. An enter key does not register keypress in Chrome or Safari but registers for IE browser. 

Resolution



This issue is resolved through the following Local-change:

Include the below script in the section containing the FindWork gadget code.

    
<script> 
    document.getElementById("Work_ID2").removeAttribute("onkeypress"); 
    document.getElementById("Work_ID2").setAttribute("onkeydown", "searchWork(event);"); 
</script> 

Published June 18, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us