fix double new calendar button - bugfix for oc 59
This commit is contained in:
parent
b44a7dc36a
commit
ce13b3b7cd
|
@ -435,8 +435,10 @@ Calendar={
|
|||
$(button).closest('tr').prev().html(data.page).show().next().remove();
|
||||
$('#calendar_holder').fullCalendar('removeEventSource', data.eventSource.url);
|
||||
$('#calendar_holder').fullCalendar('addEventSource', data.eventSource);
|
||||
if (calendarid == 'new'){
|
||||
$('#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');
|
||||
},
|
||||
cancel:function(button, calendarid){
|
||||
|
|
Loading…
Reference in New Issue