mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
28 lines
549 B
JavaScript
28 lines
549 B
JavaScript
/*
|
|
* Prerequisites: mootools.v1.11.js
|
|
*/
|
|
var ProjectSpace =
|
|
{
|
|
init: function()
|
|
{
|
|
var summaries = $$("#projectSummary .projectSpaceSummary");
|
|
|
|
summaries.each(function(summary, i)
|
|
{
|
|
var summaryURL = summary.attributes["rel"].value;
|
|
|
|
if (summaryURL != "")
|
|
{
|
|
// ajax call to load space summary
|
|
var myAjax = new Ajax(summaryURL, {
|
|
method: "get",
|
|
headers: {"If-Modified-Since": "Sat, 1 Jan 2000 00:00:00 GMT"},
|
|
update: summary
|
|
}).request();
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
window.addEvent('domready', ProjectSpace.init);
|