egroupware_official/felamimail/js/jscode/listFolder.js
2010-06-09 18:36:13 +00:00

45 lines
1.3 KiB
JavaScript

var tab = new Tabs(2,'activetab','inactivetab','tab','tabcontent','','','tabpage');
function initAll()
{
tab.init();
}
function onCheckHandler(_nodeID)
{
xajax_doXMLHTTP('felamimail.ajaxfelamimail.updateFolderStatus',_nodeID,tree.isItemChecked(_nodeID));
}
function OnLoadingStart(_nodeID) {
return true;
}
function onNodeSelect(_nodeID)
{
xajax_doXMLHTTP("felamimail.ajaxfelamimail.getFolderInfo",_nodeID);
}
function resetACLAddView()
{
xajax_doXMLHTTP('felamimail.ajaxfelamimail.addACL', document.getElementById('accountName').value, xajax.getFormValues('formAddACL') );
document.getElementById('accountName').value = '';
document.getElementById('acl_l').checked = false;
document.getElementById('acl_r').checked = false;
document.getElementById('acl_s').checked = false;
document.getElementById('acl_w').checked = false;
document.getElementById('acl_i').checked = false;
document.getElementById('acl_p').checked = false;
document.getElementById('acl_c').checked = false;
document.getElementById('acl_d').checked = false;
document.getElementById('acl_a').checked = false;
opener.updateACLView();
}
function updateACLView()
{
xajax_doXMLHTTP('felamimail.ajaxfelamimail.updateACLView');
}
function displayACLAdd(_url)
{
egw_openWindowCentered(_url,'felamiMailACL','400','200',window.outerWidth/2,window.outerHeight/2);
}