Welcome to mirror list, hosted at ThFree Co, Russian Federation.

settings.js « js « calendar « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2da81b0d0f9a291d42f70499d97f023c521bb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$(document).ready(function(){
	$("#timezone").change( function(){
		// Serialize the data
		var post = $( "#timezone" ).serialize();
		// Ajax foo
		$.post( oc_webroot + '/apps/calendar/ajax/settimezone.php', post, function(data){
			if( data.status == "success" ){
			}
			else{
				$('#timezoneerror').html( data.data.message );
			}
		});
		return false;
	});
});