forked from extern/egroupware
* Mail: do not override existing compose fields with predefined values
This commit is contained in:
parent
3292e478b6
commit
a12cdb1d02
@ -274,6 +274,10 @@ app.classes.mail = AppJS.extend(
|
||||
var pca = egw.preference(this.et2.getWidgetById('mailaccount').getValue().split(":")[0]+'_predefined_compose_addresses', 'mail');
|
||||
for (var p in pca)
|
||||
{
|
||||
if (this.et2.getWidgetById(p).getValue() && pca[p])
|
||||
{
|
||||
pca[p] = pca[p].concat(this.et2.getWidgetById(p).getValue());
|
||||
}
|
||||
this.et2.getWidgetById(p).set_value(pca[p]);
|
||||
}
|
||||
this.compose_fieldExpander_init();
|
||||
|
Loading…
Reference in New Issue
Block a user