- Added update status button to status area of links management report which now does an incremental report

- Re-Run report button now runs fresh report
- Generated files are now in a collapsable panel (closed by default)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-06-13 14:44:27 +00:00
parent 6bdd49ffc7
commit 1bbbb2b4ca
6 changed files with 128 additions and 18 deletions

View File

@@ -0,0 +1,28 @@
Alfresco.toggleGeneratedFiles = function(icon, genFilesId)
{
var currentState = icon.className;
var genFilesDiv = document.getElementById(genFilesId);
if (currentState == "collapsed")
{
icon.src = getContextPath() + "/images/icons/arrow_open.gif";
icon.className = "expanded";
// show the div holding the generated files
if (genFilesDiv != null)
{
genFilesDiv.style.display = "block";
}
}
else
{
icon.src = getContextPath() + "/images/icons/arrow_closed.gif";
icon.className = "collapsed";
// hide the div holding the generated files
if (genFilesDiv != null)
{
genFilesDiv.style.display = "none";
}
}
}