Dan Iverson from psadmin.io created a new Idea on MOSC:
Fluid global search box should default the cursor:
https://community.oracle.com/ideas/18507
Workaround:
If the current behavior is causing issues and you would like to set the focus on the search box, then it can be achieved by adding one line of custom code to the following delivered objects (depending on your tools release):
PeopleTools 8.55+:
HTML Object: PT_SEARCH_FMODE
Function: toggleGBLSearchTray
Custom Code:
/* CSK Customization - Start */
document.getElementById("PTS_KEYWORDS_GLB").focus();
/* CSK Customization - End */
PeopleTools 8.54:
If you are using PeopleTools 8.54, then you will not find this function toggleGBLSearchTray in PT_SEARCH_FMODE (since that object does not exist). Look for the same function in PT_PAGE_SCRIPT_FMODE.
HTML Object: PT_PAGE_SCRIPT_FMODE
Function: toggleGBLSearchTray
Custom Code:
/* CSK Customization - Start */
document.getElementById("PTS_KEYWORDS_GLB").focus();
/* CSK Customization - End */
Fluid global search box should default the cursor:
https://community.oracle.com/ideas/18507
Workaround:
If the current behavior is causing issues and you would like to set the focus on the search box, then it can be achieved by adding one line of custom code to the following delivered objects (depending on your tools release):
PeopleTools 8.55+:
HTML Object: PT_SEARCH_FMODE
Function: toggleGBLSearchTray
Custom Code:
/* CSK Customization - Start */
document.getElementById("PTS_KEYWORDS_GLB").focus();
/* CSK Customization - End */
PeopleTools 8.54:
If you are using PeopleTools 8.54, then you will not find this function toggleGBLSearchTray in PT_SEARCH_FMODE (since that object does not exist). Look for the same function in PT_PAGE_SCRIPT_FMODE.
HTML Object: PT_PAGE_SCRIPT_FMODE
Function: toggleGBLSearchTray
Custom Code:
/* CSK Customization - Start */
document.getElementById("PTS_KEYWORDS_GLB").focus();
/* CSK Customization - End */