summaryrefslogtreecommitdiffstats
path: root/apps/tasks/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-14 14:55:37 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-14 14:55:37 +0200
commit029e1aced7fc39fa5673b69927a24aa18b159a19 (patch)
tree73a5643a52991c502ae2a945692a7822b2eba1d2 /apps/tasks/index.php
parent7d1880078c36eb51f7cd591b113a951064df4a65 (diff)
downloadnextcloud-server-029e1aced7fc39fa5673b69927a24aa18b159a19.tar.gz
nextcloud-server-029e1aced7fc39fa5673b69927a24aa18b159a19.zip
Tasks: Update to use new categories interface
Diffstat (limited to 'apps/tasks/index.php')
-rw-r--r--apps/tasks/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php
index 3e324e797f8..95bb10a77c3 100644
--- a/apps/tasks/index.php
+++ b/apps/tasks/index.php
@@ -20,10 +20,14 @@ if( count($calendars) == 0 ) {
OC_UTIL::addScript('tasks', 'tasks');
OC_UTIL::addStyle('tasks', 'style');
+OC_Util::addScript('contacts','jquery.multi-autocomplete');
+OC_Util::addScript('','oc-vcategories');
OC_APP::setActiveNavigationEntry('tasks_index');
+$categories = OC_Calendar_App::getCategoryOptions();
$l10n = new OC_L10N('tasks');
$priority_options = OC_Task_App::getPriorityOptions();
$output = new OC_Template('tasks', 'tasks', 'user');
$output->assign('priority_options', $priority_options);
+$output->assign('categories', $categories);
$output -> printPage();