From 436424c1c70cb258649003e4c7fb85ebb515937c Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 30 Jan 2015 15:25:47 +0000 Subject: [PATCH] Revert back the window close to normal timing as delay breaks closing of compose dialog --- phpgwapi/js/jsapi/egw_open.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpgwapi/js/jsapi/egw_open.js b/phpgwapi/js/jsapi/egw_open.js index fef22bd7e7..468eaa7511 100644 --- a/phpgwapi/js/jsapi/egw_open.js +++ b/phpgwapi/js/jsapi/egw_open.js @@ -385,10 +385,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd) } else { - // we have to wait a little, to give browser time to same autocomplete values - _wnd.setTimeout(function() { - _wnd.close(); - }, 20); + _wnd.close(); } },