Merge pull request #230 from libasys/patch-6

Fix new Calendar button
master
Jan-Christoph Borchardt 2013-11-27 06:33:23 -08:00
commit 25dd6a7924
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ Calendar={
$('#fullcalendar').fullCalendar('removeEventSource', data.eventSource.url);
$('#fullcalendar').fullCalendar('addEventSource', data.eventSource);
if (calendarid == 'new'){
$('#choosecalendar_dialog > table:first').append('<tr><td colspan="6"><a href="#" id="chooseCalendar"><input type="button" value="' + newcalendar + '"></a></td></tr>');
$('#calendar > table:first').append('<tr><td colspan="6"><a href="#" id="chooseCalendar"><input type="button" value="' + newcalendar + '"></a></td></tr>');
}
}else{
$("#displayname_"+calendarid).css('background-color', '#FF2626');