diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-01-17 19:09:11 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-01-17 19:09:11 +0100 |
commit | 1f952318019baca4a8c628b2baeb23b82cc85c99 (patch) | |
tree | 88773f47358dbedf10fc08a55ceba71d42acf72f | |
parent | 6e86b3458694f22748de977c702e3c7fe3435e30 (diff) | |
download | nextcloud-server-1f952318019baca4a8c628b2baeb23b82cc85c99.tar.gz nextcloud-server-1f952318019baca4a8c628b2baeb23b82cc85c99.zip |
use button for new calendar
-rw-r--r-- | apps/calendar/js/calendar.js | 2 | ||||
-rw-r--r-- | apps/calendar/templates/part.choosecalendar.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 7b9e5cff0c0..5c0998d4ae2 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -435,7 +435,7 @@ Calendar={ $(button).closest('tr').prev().html(data.page).show().next().remove(); $('#calendar_holder').fullCalendar('removeEventSource', data.eventSource.url); $('#calendar_holder').fullCalendar('addEventSource', data.eventSource); - $('#choosecalendar_dialog > table').append('<tr><td colspan="6"><a href="#" onclick="Calendar.UI.Calendar.newCalendar(this);">' + newcalendar + '</a></td></tr>'); + $('#choosecalendar_dialog > table').append('<tr><td colspan="6"><a href="#" onclick="Calendar.UI.Calendar.newCalendar(this);"><input type="button" value="' + newcalendar + '"></a></td></tr>'); } }, 'json'); }, diff --git a/apps/calendar/templates/part.choosecalendar.php b/apps/calendar/templates/part.choosecalendar.php index 65eb39cbfdf..86f09d62076 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="6"> - <a href="#" onclick="Calendar.UI.Calendar.newCalendar(this);"><?php echo $l->t('New Calendar') ?></a> + <a href="#" onclick="Calendar.UI.Calendar.newCalendar(this);"><input type="button" value="<?php echo $l->t('New Calendar') ?>"></a> </td> </tr> <tr> |