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:
Hadi Nategh 2015-03-02 10:24:06 +00:00
parent 1ea193ef14
commit 251c002be0

View File

@ -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