hide edit metadata page for now

This commit is contained in:
Luke Pulverenti 2013-05-12 21:46:56 -04:00
parent 32df358977
commit 885d82d544
3 changed files with 13 additions and 3 deletions

View File

@ -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>

View File

@ -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 () {

View File

@ -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 () {