updated media library text
This commit is contained in:
parent
d3951c232a
commit
511a5d9c3d
3 changed files with 5 additions and 3 deletions
|
@ -20,8 +20,7 @@
|
|||
<label for="chkUseDefaultLibrary">Use default media library</label>
|
||||
</p>
|
||||
<div id="divMediaLibrary">
|
||||
<p>Below are your media collections. Expand a collection to add or remove media locations assigned to it.</p>
|
||||
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
||||
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
||||
<p>
|
||||
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
||||
</p>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
if (user.Configuration.UseCustomLibrary) {
|
||||
|
||||
ApiClient.getVirtualFolders(userId).done(MediaLibraryPage.reloadVirtualFolders);
|
||||
$(".editing_default").hide();
|
||||
$('#divMediaLibrary', page).show();
|
||||
} else {
|
||||
$('#divMediaLibrary', page).hide();
|
||||
|
@ -118,6 +119,8 @@
|
|||
user.Configuration.UseCustomLibrary = !useDefaultLibrary;
|
||||
|
||||
ApiClient.updateUser(user).done(MediaLibraryPage.reloadLibrary);
|
||||
|
||||
$(".editing_default").hide();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<label for="chkUseDefaultLibrary">Use default media library</label>
|
||||
</p>
|
||||
<div id="divMediaLibrary">
|
||||
<p>Below are your media collections. Expand a collection to add or remove media locations assigned to it.</p>
|
||||
<p class="editing_default">This is the <strong>default media library</strong> that will be shared with all users unless they setup their own.</p>
|
||||
<p>
|
||||
<button type="button" data-icon="plus" onclick="MediaLibraryPage.addVirtualFolder();">Add media collection</button>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue