summaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-27 20:26:12 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-27 20:26:12 +0200
commit6e7f5ec4ce45775ebc99482c5d38fb5acfc95f8b (patch)
treed229925bb112a4949914831106c397cf57ac0dd0 /apps/tasks/ajax
parentc627657fc66f827646d32397b96b8a8790add55d (diff)
downloadnextcloud-server-6e7f5ec4ce45775ebc99482c5d38fb5acfc95f8b.tar.gz
nextcloud-server-6e7f5ec4ce45775ebc99482c5d38fb5acfc95f8b.zip
Tasks: Add input to edit the task location
Diffstat (limited to 'apps/tasks/ajax')
-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 a14816be127..b075489bd17 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 'location':
+ $location = $_POST['location'];
+ $vtodo->setString('LOCATION', $location);
+ break;
case 'categories':
$categories = $_POST['categories'];
$vtodo->setString('CATEGORIES', $categories);