You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SIPRP/trunk/AnaliseAcidentesTrabalho/web/resources/RaveThemeFix.js

27 lines
453 B

/**
* fix for the rave theme being used.
* Rave theme is setting table.hidden = "hidden" ...
* call this onLoad to remove 'hidden' property from tables
*/
function showTables()
{
for ( var i = 0; i < arguments.length; i++ )
{
var table = arguments[ i ];
showTable( table );
}
}
function showTable( tableID )
{
var table = document.getElementById( tableID );
if ( table == null )
{
return false;
}
table.hidden = "";
return true;
}