From e9a58eae57e65b082b461ec17aaf4bef9bb582f9 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sat, 3 Nov 2018 18:18:25 +0200 Subject: [PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog --- .../palemoon/components/places/content/editBookmarkOverlay.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application/palemoon') 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; }; -- cgit v1.2.3 From bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 4 Nov 2018 17:59:16 +0100 Subject: Add GUI control to Pale Moon for opportunistic encryption. Pale Moon part for #863. --- application/palemoon/components/preferences/security.xul | 8 ++++++++ .../locales/en-US/chrome/browser/preferences/security.dtd | 2 ++ 2 files changed, 10 insertions(+) (limited to 'application/palemoon') diff --git a/application/palemoon/components/preferences/security.xul b/application/palemoon/components/preferences/security.xul index d3d321b16..d9c3dd55d 100644 --- a/application/palemoon/components/preferences/security.xul +++ b/application/palemoon/components/preferences/security.xul @@ -49,6 +49,10 @@ + + + + + +