aboutsummaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax/update_property.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-23 18:03:19 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-23 18:28:44 +0200
commit728e6a6bf9540b845073c4c8fb96dd7eb1dffa3a (patch)
treecfb847ea76699169297ea9677fb181918275d785 /apps/tasks/ajax/update_property.php
parentacea156a3d4ba94844b23946b2f24e8205f42462 (diff)
downloadnextcloud-server-728e6a6bf9540b845073c4c8fb96dd7eb1dffa3a.tar.gz
nextcloud-server-728e6a6bf9540b845073c4c8fb96dd7eb1dffa3a.zip
Tasks: Simple categories input
Diffstat (limited to 'apps/tasks/ajax/update_property.php')
-rw-r--r--apps/tasks/ajax/update_property.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tasks/ajax/update_property.php b/apps/tasks/ajax/update_property.php
index 7128aee8d39..a14816be127 100644
--- a/apps/tasks/ajax/update_property.php
+++ b/apps/tasks/ajax/update_property.php
@@ -25,6 +25,10 @@ switch($property) {
$description = $_POST['description'];
$vtodo->setString('DESCRIPTION', $description);
break;
+ case 'categories':
+ $categories = $_POST['categories'];
+ $vtodo->setString('CATEGORIES', $categories);
+ break;
case 'due':
$due = $_POST['due'];
$due_date_only = $_POST['date'];