From 5bb3529c0eed9e2668488a12b2f4575e141327e7 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 1 Nov 2008 13:24:58 +0000 Subject: [PATCH] Closes #1200, Keyboard focus should go to note --- .../zotero/bindings/styled-textbox.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 86a5788eb..f1a4f1173 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -35,6 +35,7 @@ + + + + + + + @@ -263,6 +278,10 @@ if (self._value) { self.value = self._value; } + if (self._focus) { + self._editor.focus(); + self._focus = false; + } }); if (self._eventHandler) {