mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
hide edit metadata page for now
This commit is contained in:
parent
32df358977
commit
885d82d544
@ -13,7 +13,7 @@
|
||||
<h1 id="itemName" class="detailPageName"></h1>
|
||||
<br />
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" onclick="Dashboard.navigate('edititemmetadata.html', true);">Metadata</a>
|
||||
<!-- <a href="#" data-role="button" onclick="Dashboard.navigate('edititemmetadata.html', true);">Metadata</a>-->
|
||||
<a href="#" data-role="button" class="ui-btn-active">Images</a>
|
||||
</div>
|
||||
|
||||
|
@ -1,6 +1,16 @@
|
||||
(function ($, document, LibraryBrowser, window) {
|
||||
|
||||
var currentItem;
|
||||
var sessionsPromise;
|
||||
|
||||
function getSessionsPromise() {
|
||||
|
||||
if (sessionsPromise == null) {
|
||||
sessionsPromise = ApiClient.getSessions();
|
||||
}
|
||||
|
||||
return sessionsPromise;
|
||||
}
|
||||
|
||||
function reload(page) {
|
||||
|
||||
@ -725,7 +735,7 @@
|
||||
|
||||
$('#btnEdit', page).on('click', function () {
|
||||
|
||||
Dashboard.navigate("edititemmetadata.html?id=" + currentItem.Id);
|
||||
Dashboard.navigate("edititemimages.html?id=" + currentItem.Id);
|
||||
});
|
||||
|
||||
}).on('pageshow', "#itemDetailPage", function () {
|
||||
|
@ -138,7 +138,7 @@
|
||||
|
||||
$('#btnEdit', page).on('click', function () {
|
||||
|
||||
Dashboard.navigate("edititemmetadata.html?id=" + query.ParentId);
|
||||
Dashboard.navigate("edititemimages.html?id=" + query.ParentId);
|
||||
});
|
||||
|
||||
}).on('pageshow', "#itemListPage", function () {
|
||||
|
Loading…
Reference in New Issue
Block a user