Small js fix.

This commit is contained in:
Thomas Tanghus 2012-06-22 14:27:24 +02:00
parent 07124ee38d
commit 1f06cdf81f
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<script type='text/javascript'>
var totalurl = '<?php echo OCP\Util::linkToRemote('carddav'); ?>addressbooks';
var categories = <?php echo json_encode($_['categories']); ?>;
var id = <?php echo $_['id']; ?>;
var id = '<?php echo $_['id']; ?>';
var lang = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en'); ?>';
</script>
<div id="leftcontent">