changing timezone reloads calendar
parent
0b3415bb58
commit
b232d96522
|
@ -1,7 +1,10 @@
|
|||
$(document).ready(function(){
|
||||
$('#timezone').change( function(){
|
||||
var post = $( '#timezone' ).serialize();
|
||||
$.post( OC.filePath('calendar', 'ajax/settings', 'settimezone.php'), post, function(data){return;});
|
||||
$.post( OC.filePath('calendar', 'ajax/settings', 'settimezone.php'), post, function(data){
|
||||
$('#fullcalendar').fullCalendar('refetchEvents');
|
||||
return;
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$('#timezone').chosen();
|
||||
|
|
Loading…
Reference in New Issue