From a6787d50bcfa0bc22353bf2270d1f8eaa5a9fe0f Mon Sep 17 00:00:00 2001 From: Fredrik Wahlberg Date: Thu, 23 Jan 2025 18:42:32 +0100 Subject: [PATCH] Change from deadlines to scheduled --- .gitignore | 1 + public/app.js | 4 ++-- public/index.html | 8 ++++---- server.js | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 8bdf600..6a8d7b5 100644 --- a/.gitignore +++ b/.gitignore @@ -182,3 +182,4 @@ flycheck_*.el tasks.org +org-todo-pwa.code-workspace diff --git a/public/app.js b/public/app.js index 69e76b5..1ba958d 100644 --- a/public/app.js +++ b/public/app.js @@ -4,13 +4,13 @@ document.getElementById('taskForm').addEventListener('submit', function(e) { // Get form values const subject = document.getElementById('subject').value; const description = document.getElementById('description').value; - const deadline = document.getElementById('deadline').value; + const scheduled = document.getElementById('scheduled').value; // Structure data for Org mode const taskData = { subject, description, - deadline + scheduled }; // Send data to backend using fetch diff --git a/public/index.html b/public/index.html index 149a38d..822d63b 100644 --- a/public/index.html +++ b/public/index.html @@ -19,8 +19,8 @@

- -

+ +

@@ -31,9 +31,9 @@