@bobfrankston/rmfmail 1.1.95 → 1.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitmsg +14 -4
- package/client/app.bundle.js +15 -4
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +10 -1
- package/client/app.js.map +1 -1
- package/client/app.ts +9 -1
- package/client/components/alarms.js +19 -4
- package/client/components/alarms.js.map +1 -1
- package/client/components/alarms.ts +17 -4
- package/client/compose/compose.bundle.js +4 -0
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/lib/rmf-tiny.js +9 -0
- package/docs/rmf-tiny.md +31 -2
- package/npmchanges.md +26 -0
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-90336 → node_modules.npmglobalize-stash-26080}/.package-lock.json +0 -0
package/client/app.js
CHANGED
|
@@ -3028,8 +3028,17 @@ document.addEventListener("keydown", (e) => {
|
|
|
3028
3028
|
}
|
|
3029
3029
|
// Ctrl+A = Select all visible messages
|
|
3030
3030
|
if (e.ctrlKey && e.key === "a") {
|
|
3031
|
+
const t = e.target;
|
|
3032
|
+
const tag = t?.tagName;
|
|
3033
|
+
// In a text field / editor, Ctrl+A means "select the text" — never
|
|
3034
|
+
// hijack it to select-all-messages. The old guard's `.closest(...,
|
|
3035
|
+
// body)` always matched (everything is inside <body>), so Ctrl+A in
|
|
3036
|
+
// the search box selected every message instead of the box's text,
|
|
3037
|
+
// and the field couldn't be selected+cleared (Bob 2026-05-18).
|
|
3038
|
+
if (tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT" || t?.isContentEditable)
|
|
3039
|
+
return;
|
|
3031
3040
|
const mlBody = document.getElementById("ml-body");
|
|
3032
|
-
if (mlBody
|
|
3041
|
+
if (mlBody) {
|
|
3033
3042
|
e.preventDefault();
|
|
3034
3043
|
mlBody.querySelectorAll(".ml-row").forEach(r => r.classList.add("selected"));
|
|
3035
3044
|
}
|