]> source.dussan.org Git - nextcloud-server.git/commitdiff
use button for new calendar
authorGeorg Ehrke <dev@georgswebsite.de>
Tue, 17 Jan 2012 18:09:11 +0000 (19:09 +0100)
committerGeorg Ehrke <dev@georgswebsite.de>
Tue, 17 Jan 2012 18:09:11 +0000 (19:09 +0100)
apps/calendar/js/calendar.js
apps/calendar/templates/part.choosecalendar.php

index 7b9e5cff0c0a4c521dfc64ab6ae0deddca9d1324..5c0998d4ae2250e9ccf84b95eeb418715d2bd798 100644 (file)
@@ -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');
                        },
index 65eb39cbfdfc59ce140c31c0f4dcd1c0a5250e5e..86f09d6207603752e7918f3c93a8d46da9793a91 100644 (file)
@@ -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>