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

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

  1. Create a listview with lots of data
  2. Listview should have filter section with smart info settings
  3. Run it
  4. Hover the mouse on label
  5. Smart Info comes
  6. 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

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