summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r--apps/contacts/templates/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index e81597f23d6..efd797e25cb 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -1,5 +1,6 @@
<script type='text/javascript'>
var totalurl = '<?php echo OC_Helper::linkToAbsolute('contacts', 'carddav.php'); ?>/addressbooks';
+ var categories = <?php echo json_encode($_['categories']); ?>;
</script>
<div id="controls">
<form>