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

enable unified routing

This commit is contained in:
Luke Pulverenti 2016-03-16 01:33:31 -04:00
parent 2360213901
commit 154f6b5fd8
133 changed files with 6988 additions and 7112 deletions

View file

@ -19,7 +19,9 @@ define(['viewcontainer', 'focusManager', 'queryString', 'connectionManager', 'ev
// Use controller method
var controller = new options.controllerFactory(newView, eventDetail.detail.params);
} else if (dispatchPageEvents) {
}
if (!options.controllerFactory || dispatchPageEvents) {
dispatchViewEvent(newView, 'viewinit');
}
}