diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-18 17:13:26 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-18 17:13:48 +0200 |
commit | d5656716f69caa6a1eb98706994ffcb9a08553a7 (patch) | |
tree | d75c1092cc438ac3964e4ec7ab615f603e7b875f /apps/calendar | |
parent | 0660133d2edc915a6b7c8ce9a05fe8247b5dd4ad (diff) | |
download | nextcloud-server-d5656716f69caa6a1eb98706994ffcb9a08553a7.tar.gz nextcloud-server-d5656716f69caa6a1eb98706994ffcb9a08553a7.zip |
Fix calendar active checkbox
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/js/calendar.js | 2 | ||||
-rw-r--r-- | apps/calendar/templates/part.editcalendar.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 77a75c14b2e..5864977eb38 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -464,7 +464,7 @@ Calendar={ }, submit:function(button, calendarid){ var displayname = $("#displayname_"+calendarid).val(); - var active = $("#active_"+calendarid+":checked").length; + var active = $("#edit_active_"+calendarid+":checked").length; var description = $("#description_"+calendarid).val(); var calendarcolor = $("#calendarcolor_"+calendarid).val(); diff --git a/apps/calendar/templates/part.editcalendar.php b/apps/calendar/templates/part.editcalendar.php index a1a36505ee9..af555149120 100644 --- a/apps/calendar/templates/part.editcalendar.php +++ b/apps/calendar/templates/part.editcalendar.php @@ -25,8 +25,8 @@ <tr> <td></td> <td> - <input id="active_<?php echo $_['calendar']['id'] ?>" type="checkbox"<?php echo $_['calendar']['active'] ? ' checked="checked"' : '' ?>> - <label for="active_<?php echo $_['calendar']['id'] ?>"> + <input id="edit_active_<?php echo $_['calendar']['id'] ?>" type="checkbox"<?php echo $_['calendar']['active'] ? ' checked="checked"' : '' ?>> + <label for="edit_active_<?php echo $_['calendar']['id'] ?>"> <?php echo $l->t('Active') ?> </label> </td> |