Show/Hide unsubscribed folders in mail folder tree

This commit is contained in:
Hadi Nategh 2013-12-20 10:48:04 +00:00
parent 0c818b0928
commit 07e7e4978c

View File

@ -2255,6 +2255,17 @@ app.classes.mail = AppJS.extend(
this.egw.open_link('mail.mail_sieve.editVacation','_blank','700x480');
},
/**
* Show/Hide unsubscribed folders
*
* @param {action} _action selected action from tree context menu
*/
all_folders: function(_action)
{
egw.json('mail.mail_ui.ajax_foldertree',[null,!_action.checked])
.sendRequest();
},
/**
* Edit a folder acl for account(s)
*