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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.