From 2691fe6389777506747561e0fe60c67278f50594 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 17 Jul 2009 17:33:32 +0000 Subject: [PATCH] Web: Select summary field when editing component Monotone-Parent: ae3345097f59fc699c864086217dff63e641ee3d Monotone-Revision: e48539d48e55adfdd1d2fd81c389b3490d23aeaa Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-07-17T17:33:32 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxComponentEditor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UI/WebServerResources/UIxComponentEditor.js b/UI/WebServerResources/UIxComponentEditor.js index 0b8940ebc..ba57c6e60 100644 --- a/UI/WebServerResources/UIxComponentEditor.js +++ b/UI/WebServerResources/UIxComponentEditor.js @@ -142,6 +142,10 @@ function onComponentEditorLoad(event) { onPopupRecurrenceWindow(null); onPopupReminderWindow(null); onSummaryChange (null); + + var summary = $("summary"); + summary.focus(); + summary.selectText(0, summary.value.length); } function onSummaryChange (e) {