mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
hide edit metadata page for now
This commit is contained in:
parent
32df358977
commit
885d82d544
3 changed files with 13 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue