mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix add email item from addressbook context menu always open new compose, no matter if there is already one exist
This commit is contained in:
parent
9c569a8c1e
commit
b532620241
@ -57,7 +57,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
||||
};
|
||||
|
||||
// Get open compose windows
|
||||
var compose = egw.getOpenWindows("mail", /^compose_/);
|
||||
var compose = egw.getOpenWindows("mail", /(^compose_)||(^mail.compose)/);
|
||||
if(compose.length == 0)
|
||||
{
|
||||
// No compose windows, might be no mail app.js
|
||||
|
Loading…
Reference in New Issue
Block a user