summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/places/content
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-11-14 04:42:22 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-11-14 04:42:22 -0500
commitb199e3aa094ce1408509e68a1e0eed937fad7ab4 (patch)
tree45db5b70a117d84e5cb9cecafb26fdabc0ca13fb /application/palemoon/components/places/content
parent3438b20bd731184a838abaa159ccd9c00be1593b (diff)
downloadUXP-b199e3aa094ce1408509e68a1e0eed937fad7ab4.tar
UXP-b199e3aa094ce1408509e68a1e0eed937fad7ab4.tar.gz
UXP-b199e3aa094ce1408509e68a1e0eed937fad7ab4.tar.lz
UXP-b199e3aa094ce1408509e68a1e0eed937fad7ab4.tar.xz
UXP-b199e3aa094ce1408509e68a1e0eed937fad7ab4.zip
Issue #861 - The bookmark properties window should focus on the Name Picker text box on init
Diffstat (limited to 'application/palemoon/components/places/content')
-rw-r--r--application/palemoon/components/places/content/bookmarkProperties.js5
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