From 7abfe41ab792e93b94e186f9ece4a5fd3b58a3e4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 24 Apr 2016 11:12:38 +0200 Subject: [PATCH] Fix bug where getting HTML editor content could steal focus from other form controls (#5223) --- CHANGELOG | 1 + program/js/editor.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index f4e8647c9a6..3b401b3b481 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ CHANGELOG Roundcube Webmail - Enigma: Added enigma_debug option - Fix message list multi-select/deselect issue (#5219) +- Fix bug where getting HTML editor content could steal focus from other form controls (#5223) RELEASE 1.2-rc -------------- diff --git a/program/js/editor.js b/program/js/editor.js index 17eee6b9d73..1702e21a408 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -450,7 +450,6 @@ function rcube_text_editor(config, id) // get selected text from tinymce editor if (ed) { - ed.getWin().focus(); // correct focus in IE & Chrome if (args.selection) text = ed.selection.getContent({format: args.format});