2010-06-09 20:36:13 +02:00
|
|
|
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()
|
|
|
|
{
|
2011-05-10 13:30:24 +02:00
|
|
|
window.xajax_doXMLHTTP('felamimail.ajaxfelamimail.addACL', document.getElementById('accountName').value, window.xajax.getFormValues('formAddACL'),document.getElementById('recursive').checked );
|
|
|
|
document.getElementById('recursive').checked = false;
|
2010-06-09 20:36:13 +02:00
|
|
|
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);
|
|
|
|
}
|