aboutsummaryrefslogtreecommitdiff
path: root/resources/js/activities.js
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-15 12:15:34 +0100
committerMateja <mail@matejamaric.com>2020-11-15 12:15:34 +0100
commit82498e1687359b5862ed8032f9fe1da6350a8703 (patch)
tree130b50c086f33de5fd1df09fffad14df870a65dd /resources/js/activities.js
parent1e3fe5a632371e498b41f32243c90febf3a07aed (diff)
downloadyota-laravel-82498e1687359b5862ed8032f9fe1da6350a8703.tar.gz
yota-laravel-82498e1687359b5862ed8032f9fe1da6350a8703.zip
Don't use Laravel Mix for now...
Diffstat (limited to 'resources/js/activities.js')
-rw-r--r--resources/js/activities.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/resources/js/activities.js b/resources/js/activities.js
deleted file mode 100644
index f9c19ac..0000000
--- a/resources/js/activities.js
+++ /dev/null
@@ -1,15 +0,0 @@
-$.ajaxSetup({
- headers: {
- 'X-CSRF-TOKEN': $('input[name="csrf-token"]').attr('content')
- }
-});
-
-jQuery('select#call-sign').change(fillTable);
-jQuery(document).ready(fillTable);
-
-function fillTable() {
- sign = jQuery('select#call-sign').first().val();
- jQuery.post('/api/activities', {'call-sign': sign}, function (data, status) {
- console.log(data);
- });
-}