summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/places/content/editBookmarkOverlay.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-07 06:01:03 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-07 06:01:03 +0100
commit63635e38ff9341c02fae7f4557d230ec710947b6 (patch)
tree007459a8c21a0ed58051b177eb60a2e67aa429c5 /application/palemoon/components/places/content/editBookmarkOverlay.js
parent1626b5d7041ea9c3db92200f91542da46e49dde6 (diff)
parent3c5a34c90075c8cee4be7d316f4b2d7390f7bc29 (diff)
downloadUXP-2018.11.07.tar
UXP-2018.11.07.tar.gz
UXP-2018.11.07.tar.lz
UXP-2018.11.07.tar.xz
UXP-2018.11.07.zip
Merge branch 'master' into Basilisk-releasev2018.11.07
Diffstat (limited to 'application/palemoon/components/places/content/editBookmarkOverlay.js')
-rw-r--r--application/palemoon/components/places/content/editBookmarkOverlay.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/palemoon/components/places/content/editBookmarkOverlay.js b/application/palemoon/components/places/content/editBookmarkOverlay.js
index 69d7d32eb..e3d4537c7 100644
--- a/application/palemoon/components/places/content/editBookmarkOverlay.js
+++ b/application/palemoon/components/places/content/editBookmarkOverlay.js
@@ -222,6 +222,11 @@ var gEditItemOverlay = {
}
let focusElement = () => {
+ let elt = document.querySelector("textbox:not([collapsed=true])");
+ if (elt) {
+ elt.focus();
+ elt.select();
+ }
this._initialized = true;
};