You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
$(document).ready(function() { |
|
|
|
$('#fileSharingSettings input').change(function() { |
|
var value = 'no'; |
|
if (this.checked) { |
|
value = 'yes'; |
|
} |
|
OCP.AppConfig.setValue('files_sharing', $(this).attr('name'), value); |
|
}); |
|
|
|
});
|
|
|