summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-08-18 18:22:13 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-08-19 18:14:35 +0200
commitb4a31cbc4657690c802f1841cc12fcae28211752 (patch)
tree702fd69c7364853226ce0011fb5ef980e735be3b
parente0d2c42a39e13eca9856472f2d1a593cbfc61fde (diff)
travelynx-action: only show checkin error if it is not already being shown1.23.7
-rw-r--r--public/static/js/travelynx-actions.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index a1fa685..ea17431 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -169,8 +169,10 @@ function tvly_reg_handlers() {
force: link.data('force'),
};
tvly_run(link, req, function() {
- link.append(' – Ohne Echtzeitdaten auschecken?')
- link.data('force', true);
+ if (!link.data('force')) {
+ link.append(' – Ohne Echtzeitdaten auschecken?')
+ link.data('force', true);
+ }
});
});
$('.action-undo').click(function() {