From 6864a02d7b3900e2caf1e67ffb20220bf8dc212d 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(+) 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