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:
parent
d1842ae4e3
commit
c8eb5f2b0c
14 changed files with 504 additions and 8 deletions
|
@ -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 () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue