From 7abfe41ab792e93b94e186f9ece4a5fd3b58a3e4 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 24 Apr 2016 05:12:38 -0400
Subject: [PATCH] Fix bug where getting HTML editor content could steal focus from other form controls (#5223)

---
 program/js/editor.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/program/js/editor.js b/program/js/editor.js
index 17eee6b..1702e21 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -450,7 +450,6 @@
 
     // 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});
 

--
Gitblit v1.9.1