From b199e3aa094ce1408509e68a1e0eed937fad7ab4 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 14 Nov 2018 04:42:22 -0500 Subject: Issue #861 - The bookmark properties window should focus on the Name Picker text box on init --- application/palemoon/components/places/content/bookmarkProperties.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application/palemoon/components') diff --git a/application/palemoon/components/places/content/bookmarkProperties.js b/application/palemoon/components/places/content/bookmarkProperties.js index 685ef57d2..e1d1077ab 100644 --- a/application/palemoon/components/places/content/bookmarkProperties.js +++ b/application/palemoon/components/places/content/bookmarkProperties.js @@ -382,6 +382,11 @@ var BookmarkPropertiesPanel = { .addEventListener("input", this, false); } } + + // Ensure the Name Picker textbox is focused on load + var namePickerElem = document.getElementById('editBMPanel_namePicker'); + namePickerElem.focus(); + namePickerElem.select(); }), // nsIDOMEventListener -- cgit v1.2.3