summaryrefslogtreecommitdiff
path: root/public/static/js/travelynx-actions.js
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-31 08:45:51 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-03-31 08:45:51 +0200
commita8a3aa17cec8fbbfe3e4d4cf4df0331e0b5b80d8 (patch)
treed35c1cc110ed42e6630ff59ab8af78962f889f22 /public/static/js/travelynx-actions.js
parent341665c79bde28129d6ca78abf60a04aed6e49e7 (diff)
Perform undo by deleting the erroneous database entry
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r--public/static/js/travelynx-actions.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index d47df77..8235889 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -43,6 +43,7 @@ $(document).ready(function() {
var link = $(this);
var req = {
action: 'undo',
+ undo_id: link.data('id'),
};
tvly_run(link, req, '/');
});