mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:19 +01:00
46 lines
1.4 KiB
JavaScript
46 lines
1.4 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()
|
|
{
|
|
window.xajax_doXMLHTTP('felamimail.ajaxfelamimail.addACL', document.getElementById('accountName').value, window.xajax.getFormValues('formAddACL'),document.getElementById('recursive').checked );
|
|
document.getElementById('recursive').checked = false;
|
|
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);
|
|
}
|