mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Allow multiple compose windows
This commit is contained in:
parent
cd5d52d811
commit
74b869640c
@ -258,8 +258,8 @@ app.mail = AppJS.extend(
|
||||
// No further client side processing needed for these
|
||||
settings.from = _action.id;
|
||||
}
|
||||
|
||||
var window_name = 'compose_' + (settings.from || '') + '_' + settings.id;
|
||||
var compose_list = egw.getOpenWindows("mail", /^compose_/);
|
||||
var window_name = 'compose_' + compose_list.length + '_'+ (settings.from || '') + '_' + settings.id;
|
||||
return egw().open('','mail','add',settings,window_name,'mail');
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user