summaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates/part.choosecalendar.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-23 22:22:03 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-23 22:22:03 +0200
commit5741811d3662db44d1eeab3da09d545baa32d6d9 (patch)
tree12d963d089f64153e091fb78e7645a97c8a84dac /apps/calendar/templates/part.choosecalendar.php
parent6e46bd73733e9b7168ba08f8d8edfcf5a92ead60 (diff)
downloadnextcloud-server-5741811d3662db44d1eeab3da09d545baa32d6d9.tar.gz
nextcloud-server-5741811d3662db44d1eeab3da09d545baa32d6d9.zip
Fix use of reserved javascript keyword 'new'
Diffstat (limited to 'apps/calendar/templates/part.choosecalendar.php')
-rw-r--r--apps/calendar/templates/part.choosecalendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.choosecalendar.php b/apps/calendar/templates/part.choosecalendar.php
index 0081fb08063..9495e7192bb 100644
--- a/apps/calendar/templates/part.choosecalendar.php
+++ b/apps/calendar/templates/part.choosecalendar.php
@@ -12,7 +12,7 @@ for($i = 0; $i < count($option_calendars); $i++){
?>
<tr>
<td colspan="4">
- <a href="#" onclick="Calendar.UI.Calendar.new(this);"><?php echo $l->t('New Calendar') ?></a>
+ <a href="#" onclick="Calendar.UI.Calendar.newCalendar(this);"><?php echo $l->t('New Calendar') ?></a>
</td>
</tr>
<tr>