diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-11-14 04:42:22 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-14 13:42:16 +0100 |
commit | 6864a02d7b3900e2caf1e67ffb20220bf8dc212d (patch) | |
tree | 22cd7b0fc9cd37d4148d3a0c100b4b4aaf7ca703 /application/palemoon/components | |
parent | bffec09e66e0cd23e8c592404255b1227e05d1e3 (diff) | |
download | UXP-6864a02d7b3900e2caf1e67ffb20220bf8dc212d.tar UXP-6864a02d7b3900e2caf1e67ffb20220bf8dc212d.tar.gz UXP-6864a02d7b3900e2caf1e67ffb20220bf8dc212d.tar.lz UXP-6864a02d7b3900e2caf1e67ffb20220bf8dc212d.tar.xz UXP-6864a02d7b3900e2caf1e67ffb20220bf8dc212d.zip |
Issue #861 - The bookmark properties window should focus on the Name Picker text box on initPM28.2.1_Release
Diffstat (limited to 'application/palemoon/components')
-rw-r--r-- | application/palemoon/components/places/content/bookmarkProperties.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 |