?iť?
Current Path : /home/scgforma/www/cloud/apps/federatedfilesharing/js/ |
Current File : /home/scgforma/www/cloud/apps/federatedfilesharing/js/settings-admin.js |
$(document).ready(function() { $('#fileSharingSettings input').change(function() { var value = 'no'; if (this.checked) { value = 'yes'; } OCP.AppConfig.setValue('files_sharing', $(this).attr('name'), value); }); });