aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/vcomponent.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-12 02:17:34 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-12 02:17:34 +0200
commit80cc46667de5062e097f5cd6e51e74c40e5bb063 (patch)
treec18453a6b82cec08627add3bc1a202d9532ef659 /module/calp/html/vcomponent.scm
parentMerge all datetime tests to one file. (diff)
downloadcalp-80cc46667de5062e097f5cd6e51e74c40e5bb063.tar.gz
calp-80cc46667de5062e097f5cd6e51e74c40e5bb063.tar.xz
Fix edit popups not auto opening.
Depending an the exact text of an translatable string seems like a bad idea.
Diffstat (limited to 'module/calp/html/vcomponent.scm')
-rw-r--r--module/calp/html/vcomponent.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm
index 91db44e6..c9765f63 100644
--- a/module/calp/html/vcomponent.scm
+++ b/module/calp/html/vcomponent.scm
@@ -618,7 +618,10 @@
(class "vevent")))
(vevent-edit
- (@ (data-label "🖊") (data-title ,(_ "Edit"))))
+ (@ (data-label "🖊")
+ (data-title ,(_ "Edit"))
+ ;; Used by JavaScript to target this tab
+ (data-originaltitle "Edit")))
;; (vevent-edit-rrule
;; (@ (data-label "↺") (data-title "Upprepningar")))