Revert "changing the timezone reloads the events"

This reverts commit 97d0e82108.
master
Michał 'rysiek' Woźniak 2014-02-11 00:58:56 +01:00
parent 97d0e82108
commit 915974fd5c
1 changed files with 1 additions and 4 deletions

View File

@ -1,10 +1,7 @@
$(document).ready(function(){
$('#timezone').change( function(){
var post = $( '#timezone' ).serialize();
$.post( OC.filePath('calendar', 'ajax/settings', 'settimezone.php'), post, function(data){
$('#fullcalendar').fullCalendar('refetchEvents');
return;
});
$.post( OC.filePath('calendar', 'ajax/settings', 'settimezone.php'), post, function(data){return;});
return false;
});
$('#timezone').chosen();