summaryrefslogtreecommitdiff
path: root/public/static/js/travelynx-actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r--public/static/js/travelynx-actions.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index 70c5d39..86ad87d 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -39,4 +39,11 @@ $(document).ready(function() {
link.data('force', true);
});
});
+ $('.action-undo').click(function() {
+ var link = $(this);
+ var req = {
+ action: 'undo',
+ };
+ tvly_run(link, req, window.location.href);
+ });
});