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

stub out xml tv class

This commit is contained in:
Luke Pulverenti 2015-07-24 17:44:25 -04:00
parent 256b44764f
commit 3226bd017c
4 changed files with 31 additions and 13 deletions

View file

@ -176,9 +176,9 @@
existingServer.ManualAddress = apiClient.serverAddress();
apiClient.serverInfo(existingServer);
Events.on(apiClient, 'authenticated', function (e, result) {
onAuthenticated(this, result, {}, true);
});
apiClient.onAuthenticated = function (instance, result) {
onAuthenticated(instance, result, {}, true);
};
if (!existingServers.length) {
var credentials = credentialProvider.credentials();
@ -235,9 +235,9 @@
apiClient.serverInfo(server);
Events.on(apiClient, 'authenticated', function (e, result) {
onAuthenticated(this, result, {}, true);
});
apiClient.onAuthenticated = function (instance, result) {
onAuthenticated(instance, result, {}, true);
};
Events.trigger(self, 'apiclientcreated', [apiClient]);
}