diff --git a/phpgwapi/js/jsapi/egw_open.js b/phpgwapi/js/jsapi/egw_open.js index 8df4560654..d91b3b4741 100644 --- a/phpgwapi/js/jsapi/egw_open.js +++ b/phpgwapi/js/jsapi/egw_open.js @@ -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