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.
12 lines
231 B
12 lines
231 B
5 years ago
|
$(document).ready(function() {
|
||
|
|
||
|
$('#fileSharingSettings input').change(function() {
|
||
|
var value = 'no';
|
||
|
if (this.checked) {
|
||
|
value = 'yes';
|
||
|
}
|
||
|
OCP.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
|
||
|
});
|
||
|
|
||
|
});
|