Index: /branches/release-39/mt-static/js/archetype_editor.js
===================================================================
--- /branches/release-39/mt-static/js/archetype_editor.js (revision 2295)
+++ /branches/release-39/mt-static/js/archetype_editor.js (revision 2526)
@@ -131,4 +131,19 @@
     currentTextMode: "_DEFAULT_",
     
+
+    getHTML: function() {
+        /* we can refocus the last selected element,
+         * because the superClass getHTML will focus the editor (if IE) */
+        var refocus;
+        if ( document.activeElement )
+            refocus = document.activeElement;
+        
+        var html = arguments.callee.applySuper( this, arguments );
+        
+        try { if ( refocus ) refocus.focus(); } catch(e) { };
+
+        return html;
+    },
+
 
     setTextMode: function( mode ) {
