From 4b184ba757e9cb8ba886221958fdf8753f41ecdb Mon Sep 17 00:00:00 2001 From: NTD Date: Wed, 14 Nov 2018 04:42:22 -0500 Subject: [PATCH] Issue #861 - The bookmark properties window should focus on the Name Picker text box on init --- .../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 685ef57d22..e1d1077ab6 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