From 251c002be0a9b989e1dd5d37355ff1d78d51659e Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 2 Mar 2015 10:24:06 +0000 Subject: [PATCH] Fix add email item from addressbook context menu always open new compose, no matter if there is already one exist --- phpgwapi/js/jsapi/egw_open.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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