aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index c1ea85fc7d..f1d308457e 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2193,4 +2193,15 @@ function initTopicbar() {
},
},
});
-} \ No newline at end of file
+}
+function toggleDuedateForm() {
+ $('#add_deadline_form').fadeToggle(150);
+}
+
+function deleteDueDate(url) {
+ $.post(url, {
+ '_csrf': csrf,
+ },function( data ) {
+ window.location.reload();
+ });
+}