nextcloud/apps/federatedfilesharing/js/settings-admin.js

13 lines
279 B
JavaScript
Raw Normal View History

$(document).ready(function() {
$('#fileSharingSettings input').change(function() {
var value = 'no';
if (this.checked) {
value = 'yes';
}
OC.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
});
$('.section .icon-info').tipsy({gravity: 'w'});
});