changing timezone reloads calendar
parent
0b3415bb58
commit
b232d96522
|
@ -1,7 +1,10 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#timezone').change( function(){
|
$('#timezone').change( function(){
|
||||||
var post = $( '#timezone' ).serialize();
|
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;
|
return false;
|
||||||
});
|
});
|
||||||
$('#timezone').chosen();
|
$('#timezone').chosen();
|
||||||
|
|
Loading…
Reference in New Issue