1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add new sharing function

This commit is contained in:
Luke Pulverenti 2015-06-30 19:59:45 -04:00
parent d1842ae4e3
commit c8eb5f2b0c
14 changed files with 504 additions and 8 deletions

View file

@ -48,6 +48,7 @@
$('#chkEnableSync', page).checked(user.Policy.EnableSync).checkboxradio("refresh");
$('#chkEnableSyncTranscoding', page).checked(user.Policy.EnableSyncTranscoding).checkboxradio("refresh");
$('#chkEnableSharing', page).checked(user.Policy.EnablePublicSharing).checkboxradio("refresh");
Dashboard.hideLoadingMsg();
}
@ -151,6 +152,7 @@
user.Policy.EnableSync = $('#chkEnableSync', page).checked();
user.Policy.EnableSyncTranscoding = $('#chkEnableSyncTranscoding', page).checked();
user.Policy.EnablePublicSharing = $('#chkEnableSharing', page).checked();
ApiClient.updateUser(user).done(function () {