* EMailAdmin/Mail: folders on personal accounts where not stored, automatic unsetting "use default" when changing/adding folders

This commit is contained in:
Ralf Becker
2014-08-28 09:05:58 +00:00
parent 2b1a3f7a6c
commit d860dd5ecd
3 changed files with 14 additions and 1 deletions

View File

@ -240,6 +240,18 @@ app.classes.emailadmin = AppJS.extend(
{
// todo check dirty and query user to a) save changes, b) discard changes, c) cancel selection
_widget.getInstanceManager().submit();
},
/**
* Callback if user changes notification folders: unset use-default checkbox
*
* @param {object} _event
* @param {et2_widget} _widget
*/
change_folders: function(_event, _widget)
{
var use_default = this.et2.getWidgetById('notify_use_default');
if (use_default) use_default.set_value(false);
}
});