fix DateModified not refreshing
This commit is contained in:
parent
ffc1d36492
commit
049f6fed66
10 changed files with 17 additions and 36 deletions
|
@ -1,23 +1,11 @@
|
|||
define([], function () {
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'about.html',
|
||||
name: Globalize.translate('TabAbout')
|
||||
},
|
||||
{
|
||||
href: 'supporterkey.html',
|
||||
name: Globalize.translate('TabEmbyPremiere')
|
||||
}];
|
||||
}
|
||||
|
||||
return function (view, params) {
|
||||
|
||||
var self = this;
|
||||
|
||||
view.addEventListener('viewbeforeshow', function (e) {
|
||||
LibraryMenu.setTabs('helpadmin', 0, getTabs);
|
||||
|
||||
var elem = view.querySelector('#appVersionNumber');
|
||||
|
||||
elem.innerHTML = elem.innerHTML.replace('{0}', ConnectionManager.appVersion());
|
||||
|
|
|
@ -165,6 +165,9 @@
|
|||
|
||||
if (isSubProfileNew) {
|
||||
|
||||
currentProfile.Identification = currentProfile.Identification || {};
|
||||
currentProfile.Identification.Headers = currentProfile.Identification.Headers || [];
|
||||
|
||||
currentProfile.Identification.Headers.push(currentSubProfile);
|
||||
}
|
||||
|
||||
|
|
|
@ -274,7 +274,7 @@
|
|||
var homeHref = window.ApiClient ? 'home.html' : 'selectserver.html?showuser=1';
|
||||
|
||||
html += '<a class="lnkMediaFolder sidebarLink" href="' + homeHref + '" onclick="return LibraryMenu.onLinkClicked(event, this);">';
|
||||
html += '<div style="background-image:url(\'css/images/mblogoicon.png\');width:' + 28 + 'px;height:' + 28 + 'px;background-size:contain;background-repeat:no-repeat;background-position:center center;border-radius:1000px;vertical-align:middle;margin:0 1.85em 0 1.55em;display:inline-block;"></div>';
|
||||
html += '<div style="background-image:url(\'css/images/mblogoicon.png\');width:' + 28 + 'px;height:' + 28 + 'px;background-size:contain;background-repeat:no-repeat;background-position:center center;border-radius:1000px;vertical-align:middle;margin:0 1.25em 0 1.55em;display:inline-block;"></div>';
|
||||
html += Globalize.translate('ButtonHome');
|
||||
html += '</a>';
|
||||
|
||||
|
|
|
@ -125,6 +125,10 @@
|
|||
serverId: ApiClient.serverInfo().Id
|
||||
});
|
||||
|
||||
if (!hints.length) {
|
||||
html = '<p style="text-align:center;margin-top:2em;">' + Globalize.translate('NoResultsFound') + '</p>';
|
||||
}
|
||||
|
||||
var itemsContainer = searchResults;
|
||||
itemsContainer.innerHTML = html;
|
||||
searchResults.classList.remove('hide');
|
||||
|
|
|
@ -728,9 +728,9 @@
|
|||
pageIds: [],
|
||||
icon: 'insert_chart'
|
||||
}, {
|
||||
name: Globalize.translate('TabHelp'),
|
||||
name: Globalize.translate('TabAbout'),
|
||||
href: "about.html",
|
||||
icon: 'help',
|
||||
icon: 'info',
|
||||
color: '#679C34',
|
||||
divider: true,
|
||||
pageIds: ['aboutPage']
|
||||
|
|
|
@ -146,18 +146,6 @@
|
|||
}
|
||||
};
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'about.html',
|
||||
name: Globalize.translate('TabAbout')
|
||||
},
|
||||
{
|
||||
href: 'supporterkey.html',
|
||||
name: Globalize.translate('TabEmbyPremiere')
|
||||
}];
|
||||
}
|
||||
|
||||
function onSupporterLinkClick(e) {
|
||||
|
||||
registrationServices.showPremiereInfo();
|
||||
|
@ -178,8 +166,6 @@
|
|||
|
||||
}).on('pageshow', "#supporterKeyPage", function () {
|
||||
|
||||
LibraryMenu.setTabs('helpadmin', 1, getTabs);
|
||||
|
||||
var page = this;
|
||||
loadUserInfo(page);
|
||||
load(page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue