103bf6dd28
Signed-off-by: Joas Schilling <coding@schilljs.com>
11 lines
231 B
JavaScript
11 lines
231 B
JavaScript
$(document).ready(function() {
|
|
|
|
$('#fileSharingSettings input').change(function() {
|
|
var value = 'no';
|
|
if (this.checked) {
|
|
value = 'yes';
|
|
}
|
|
OCP.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
|
|
});
|
|
|
|
});
|