summaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates/part.eventform.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-13 16:51:04 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-13 21:13:58 +0200
commit28e0d64edefb0156056d47e84de9a494f0236bea (patch)
treea2c7fb5155688d29d7bf939f1b50ca43239f7884 /apps/calendar/templates/part.eventform.php
parentf9b7ed3a1f0e3671b0018ead4b303f60460f9ea8 (diff)
downloadnextcloud-server-28e0d64edefb0156056d47e84de9a494f0236bea.tar.gz
nextcloud-server-28e0d64edefb0156056d47e84de9a494f0236bea.zip
Calendar: Fix saving of Categories in an event
Diffstat (limited to 'apps/calendar/templates/part.eventform.php')
-rw-r--r--apps/calendar/templates/part.eventform.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php
index 130ce111b03..3830c273a73 100644
--- a/apps/calendar/templates/part.eventform.php
+++ b/apps/calendar/templates/part.eventform.php
@@ -10,7 +10,7 @@
<tr>
<th width="75px"><?php echo $l->t("Category");?>:</th>
<td>
- <input id="category" name="categories" type="text" placeholder="<?php echo $l->t('Separate categories with commas'); ?>">
+ <input id="category" name="categories" type="text" placeholder="<?php echo $l->t('Separate categories with commas'); ?>" value="<?php echo isset($_['categories']) ? htmlspecialchars($_['categories']) : '' ?>">
<a class="action edit" onclick="$(this).tipsy('hide');OCCategories.edit();" title="<?php echo $l->t('Edit categories'); ?>"><img alt="<?php echo $l->t('Edit categories'); ?>" src="<?php echo image_path('core','actions/rename.svg')?>" class="svg action" style="width: 16px; height: 16px;"></a>
</td>
<?php if(count($_['calendar_options']) > 1) { ?>