mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add comments
This commit is contained in:
parent
c144fe57d4
commit
4b6e0fa3cb
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
|
|
||||||
if (getDictionary(name, culture)) {
|
if (getDictionary(name, culture)) {
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -45,6 +46,7 @@
|
||||||
|
|
||||||
xhr2.onload = function (e) {
|
xhr2.onload = function (e) {
|
||||||
dictionaries[url] = JSON.parse(this.response);
|
dictionaries[url] = JSON.parse(this.response);
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,6 +60,7 @@
|
||||||
if (this.status < 400) {
|
if (this.status < 400) {
|
||||||
|
|
||||||
dictionaries[url] = JSON.parse(this.response);
|
dictionaries[url] = JSON.parse(this.response);
|
||||||
|
console.log('Globalize loadDictionary resolved: ' + name);
|
||||||
resolve();
|
resolve();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1028,6 +1028,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
MediaController.init = function () {
|
MediaController.init = function () {
|
||||||
|
|
||||||
|
console.log('Beginning MediaController.init');
|
||||||
if (window.ApiClient) {
|
if (window.ApiClient) {
|
||||||
initializeApiClient(window.ApiClient);
|
initializeApiClient(window.ApiClient);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue