aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Tasklist.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-12 19:25:46 -0700
committerzotlabs <mike@macgirvin.com>2017-04-12 19:25:46 -0700
commitc631da7b0d004761c4d8fc7bd1301181ae5d9f3b (patch)
tree30f7bf2b1164bdd0d1c2ec2c0f8ae353c5fd511a /Zotlabs/Widget/Tasklist.php
parent07d62bc1119b257e1271e05443c45b59e1f41670 (diff)
downloadvolse-hubzilla-c631da7b0d004761c4d8fc7bd1301181ae5d9f3b.tar.gz
volse-hubzilla-c631da7b0d004761c4d8fc7bd1301181ae5d9f3b.tar.bz2
volse-hubzilla-c631da7b0d004761c4d8fc7bd1301181ae5d9f3b.zip
whitespace
Diffstat (limited to 'Zotlabs/Widget/Tasklist.php')
-rw-r--r--Zotlabs/Widget/Tasklist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Tasklist.php b/Zotlabs/Widget/Tasklist.php
index 6f7a8aaed..3961eecce 100644
--- a/Zotlabs/Widget/Tasklist.php
+++ b/Zotlabs/Widget/Tasklist.php
@@ -8,8 +8,8 @@ class Tasklist {
function widget($arr) {
- if (! local_channel())
- return;
+ if (! local_channel())
+ return;
$o .= '<script>var tasksShowAll = 0; $(document).ready(function() { tasksFetch(); $("#tasklist-new-form").submit(function(event) { event.preventDefault(); $.post( "tasks/new", $("#tasklist-new-form").serialize(), function(data) { tasksFetch(); $("#tasklist-new-summary").val(""); } ); return false; } )});</script>';
$o .= '<script>function taskComplete(id) { $.post("tasks/complete/"+id, function(data) { tasksFetch();}); }