Support Article
Smart Label window hanging
SA-7540
Summary
When a User needs to search some particular work objects, he opens a section which contains the following components: an embedded section with filter parameters, a Smart Label, a Search button and a List View.
When a User click on Search button and then hovers the mouse over the Smart Label, the Smart Label window is displaying while the List View results are loading.
Then a User scrolls down and up the screen but the Smart Label window is still hanging in the centre of the screen. It dissapears only when a User hovers the mouse over the Smart Label again.
- The issue is reproduced only when the process of loading List View results is time-consuming.
Error Messages
No
Steps to Reproduce
- Create a listview with lots of data
- Listview should have filter section with smart info settings
- Run it
- Hover the mouse on label
- Smart Info comes
- 6.Not going when scrolling up and down
Root Cause
The root cause of this problem with timeout settings at customer end
Resolution
This issue is resolved through by putting the code in UserWorkForm :
<script>
function closeStaleSmartInfo(){
if(window.top.document.getElementById("smartInfo")){
window.top.document.getElementById("smartInfo").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerUpLeft")){
window.top.document.getElementById("smartInfoPointerUpLeft").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerDownLeft")){
window.top.document.getElementById("smartInfoPointerDownLeft").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerUpRight")){
window.top.document.getElementById("smartInfoPointerUpRight").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerDownRight")){
window.top.document.getElementById("smartInfoPointerDownRight").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerLeftUp")){
window.top.document.getElementById("smartInfoPointerLeftUp").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerLeftDown")){
window.top.document.getElementById("smartInfoPointerLeftDown").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerRightUp")){
window.top.document.getElementById("smartInfoPointerRightUp").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerRightDown")){
window.top.document.getElementById("smartInfoPointerRightDown").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerDown")){
window.top.document.getElementById("smartInfoPointerDown").style.display = "none";
}
if(window.top.document.getElementById("smartInfoPointerUp")){
window.top.document.getElementById("smartInfoPointerUp").style.display = "none";
}
}
pega.util.Event.addListener(window,"load",closeStaleSmartInfo);
</script>
Published January 31, 2016 - 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.