All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.adf.jsLibs.StatusIndicator.js Maven / Gradle / Ivy

The newest version!
function TrStatusIndicator()
{
}
TrStatusIndicator._register=function(a0)
{
if(!TrStatusIndicator._registered)
{
TrStatusIndicator._registered=new Object();
TrPage.getInstance().getRequestQueue().addStateChangeListener(
TrStatusIndicator._handleStateChange);
}
TrStatusIndicator._registered[a0]=true;
}
TrStatusIndicator._handleStateChange=function(a1)
{
var a2=a1==TrRequestQueue.STATE_BUSY;
for(id in TrStatusIndicator._registered)
{
var a3=document.getElementById(id+"::busy");
if(!a3)
continue;
a3.style.display=a2?"inline":"none";
var a4=document.getElementById(id+"::ready");
a4.style.display=a2?"none":"inline";
}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy