Blame view

sources/apps/files_sharing/js/settings-admin.js 230 Bytes
6d9380f96   Cédric Dupont   Update sources OC...
1
2
3
4
5
6
7
8
9
10
11
  $(document).ready(function() {
  
  	$('#fileSharingSettings input').change(function() {
  		var value = 'no';
  		if (this.checked) {
  			value = 'yes';
  		}
  		OC.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
  	});
  
  });