mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
* Mail: do not override existing compose fields with predefined values
This commit is contained in:
parent
5cebe65b83
commit
35d63ee84f
@ -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