1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update tabs

This commit is contained in:
Luke Pulverenti 2016-04-14 12:30:37 -04:00
parent 7a3858d368
commit 49f8917315
20 changed files with 94 additions and 31 deletions

View file

@ -112,6 +112,18 @@
return false;
}
function getTabs() {
return [
{
href: 'library.html',
name: Globalize.translate('TabFolders')
},
{
href: 'librarypathmapping.html',
name: Globalize.translate('TabPathSubstitution')
}];
}
$(document).on('pageinit', "#libraryPathMappingPage", function () {
var page = this;
@ -122,6 +134,7 @@
}).on('pageshow', "#libraryPathMappingPage", function () {
LibraryMenu.setTabs('librarysetup', 1, getTabs);
Dashboard.showLoadingMsg();
var page = this;