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:23:13 +00:00
parent 9c569a8c1e
commit b532620241

View File

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