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

consolidate artists scripts

This commit is contained in:
Luke Pulverenti 2016-06-17 15:32:48 -04:00
parent 42669c4089
commit 68f26ae96e
6 changed files with 18 additions and 189 deletions

View file

@ -283,7 +283,7 @@
depends.push('scripts/musicalbums');
break;
case 2:
depends.push('scripts/musicalbumartists');
depends.push('scripts/musicartists');
break;
case 3:
depends.push('scripts/musicartists');
@ -311,6 +311,13 @@
var controller = tabControllers[index];
if (!controller) {
controller = index ? new controllerFactory(view, params, tabContent) : self;
if (index == 2) {
controller.mode = 'albumartists';
} else if (index == 3) {
controller.mode = 'artists';
}
tabControllers[index] = controller;
if (controller.initTab) {