forked from extern/egroupware
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
|
// Get open compose windows
|
||||||
var compose = egw.getOpenWindows("mail", /^compose_/);
|
var compose = egw.getOpenWindows("mail", /(^compose_)||(^mail.compose)/);
|
||||||
if(compose.length == 0)
|
if(compose.length == 0)
|
||||||
{
|
{
|
||||||
// No compose windows, might be no mail app.js
|
// No compose windows, might be no mail app.js
|
||||||
|
Loading…
Reference in New Issue
Block a user