From 73dd264c26692fd27533cfc6da8bedbee4666206 Mon Sep 17 00:00:00 2001 From: "Sean R. Abraham" Date: Thu, 13 Feb 2025 09:57:40 -0500 Subject: [PATCH] use hotkey to jump to add entry, enhance shortcut help the automated jump to "add entry text" textbox has bugged me for a while, as it's weird behavior that's undesirable much of the time. This instead changes that so the the user can tap "a" after opening an incident to jump to that field. --- .../incident/incident_template/template.xhtml | 7 ++++--- .../incident/incidents_template/template.xhtml | 4 ++-- .../element/incident/report_template/template.xhtml | 7 ++++--- .../incident/reports_template/template.xhtml | 4 ++-- src/ims/element/page/_page.py | 3 ++- src/ims/element/static/field_report.js | 7 +++++++ src/ims/element/static/incident.js | 13 ++++++++----- 7 files changed, 29 insertions(+), 16 deletions(-) diff --git a/src/ims/element/incident/incident_template/template.xhtml b/src/ims/element/incident/incident_template/template.xhtml index 7bc116e5d..96688600e 100644 --- a/src/ims/element/incident/incident_template/template.xhtml +++ b/src/ims/element/incident/incident_template/template.xhtml @@ -14,8 +14,9 @@