* Mail/Vacation: Make vacation be able to be set from both Admin and Mail

This commit is contained in:
Hadi Nategh
2014-05-20 08:48:50 +00:00
parent 726b6f17dc
commit cb0901e3b8
3 changed files with 149 additions and 77 deletions

View File

@ -3047,8 +3047,19 @@ app.classes.mail = AppJS.extend(
mail_prev_print: function (_action, _elems)
{
this.mail_open(_action, _elems, 'print');
},
/**
* Print a mail from list
*
* @param {egw object} _egw
* @param {widget object} _widget mail account selectbox
*
*/
vacation_change_account: function (_egw, _widget)
{
_widget.getInstanceManager().submit();
}
});
// Bind a mouseenter event once for every read-only email