[Phoenix-commits] rev 20374 - public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content

andi at wyona.com andi at wyona.com
Mon Nov 27 18:21:25 CET 2006


Author: andi
Date: 2006-11-27 18:21:23 +0100 (Mon, 27 Nov 2006)
New Revision: 20374

Modified:
   public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/view.js
Log:
Transfer focus back to the editor after completing or aborting the guided tag inserter.


Modified: public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/view.js
===================================================================
--- public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/view.js	2006-11-27 17:04:05 UTC (rev 20373)
+++ public/yulup/src/trunk/yulup/prototypes/prototype1/src/chrome/content/view.js	2006-11-27 17:21:23 UTC (rev 20374)
@@ -3303,6 +3303,9 @@
                 this.view.view.insertText(aOpeningTagString);
             }
         }
+
+        // transfer focus back to editor
+        this.view.editor.contentWindow.focus();
     },
 
     clearPromptBox: function () {




More information about the Phoenix-commits mailing list