2014-06-12 21:49:52 +04:00
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$('#fileSharingSettings input').change(function() {
|
|
|
|
var value = 'no';
|
|
|
|
if (this.checked) {
|
|
|
|
value = 'yes';
|
|
|
|
}
|
|
|
|
OC.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
|
|
|
|
});
|
|
|
|
|
2015-04-09 11:57:15 +03:00
|
|
|
$('.section .icon-info').tipsy({gravity: 'w'});
|
2014-06-12 21:49:52 +04:00
|
|
|
});
|