mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Project Space - various layout tweaks and fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -8,7 +8,12 @@ var ProjectPresence =
|
||||
init: function()
|
||||
{
|
||||
window.contextPath = ProjectPresence.getContextPath();
|
||||
|
||||
// $("refreshColleagues").addEvent("click", ProjectPresence.refreshStatus);
|
||||
ProjectPresence.refreshStatus();
|
||||
},
|
||||
|
||||
refreshStatus: function()
|
||||
{
|
||||
var statuses = $$("#projectColleagues .colleaguePresence");
|
||||
var rows = $$("#projectColleagues .colleagueRow");
|
||||
|
||||
@@ -20,11 +25,14 @@ var ProjectPresence =
|
||||
var userDetails = stat.attributes["rel"].value.split("|");
|
||||
var proxyURL = window.contextPath + "/ajax/invoke/PresenceProxyBean.proxyRequest";
|
||||
var statusURL = ProjectPresence.getStatusURL(userDetails);
|
||||
|
||||
row.removeEvent("click");
|
||||
row.setStyle("cursor", "auto");
|
||||
|
||||
if (statusURL != "")
|
||||
{
|
||||
stat.attributes["class"].value = "colleaguePresence";
|
||||
|
||||
// ajax call to load online status
|
||||
var myAjax = new Ajax(proxyURL, {
|
||||
method: 'get',
|
||||
|
Reference in New Issue
Block a user