mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- 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:
28
source/web/scripts/ajax/link-validation-report.js
Normal file
28
source/web/scripts/ajax/link-validation-report.js
Normal 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";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user