updated media library text
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user