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

settings.js « js « files_sharing « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1b1643e7d6381ddab9a68681efa6c701ae0bfbd (plain)
1
2
3
4
5
6
7
8
9
$(document).ready(function() {
	$('#allowResharing').bind('change', function() {
		var checked = 1;
		if (!$('#allowResharing').attr('checked')) {
			checked = 0;
		}
		$.post(OC.filePath('files_sharing','ajax','toggleresharing.php'), 'resharing='+checked);
	});
});