summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-20 18:04:32 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-20 18:04:32 +0200
commit1ba41db376e6875fa54278a41e253c34dc0f5c65 (patch)
tree4982fafcc95584b92403a15af9bc59ec6e38eb80 /public
parenteb7000429eb07d564fed492b42f886dab6176264 (diff)
frontend: add train timestamps to checkin action
(preparations for more flexible checkin time frames)
Diffstat (limited to 'public')
-rw-r--r--public/static/js/travelynx-actions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index 437ad60..e4d69dc 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -185,6 +185,7 @@ function tvly_reg_handlers() {
station: link.data('station'),
train: link.data('train'),
dest: link.data('dest'),
+ ts: link.data('ts'),
};
tvly_run(link, req);
});
@@ -223,6 +224,7 @@ function tvly_reg_handlers() {
var req = {
action: 'cancelled_from',
station: link.data('station'),
+ ts: link.data('ts'),
train: link.data('train'),
};
tvly_run(link, req);