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

update guide

This commit is contained in:
Luke Pulverenti 2016-04-26 15:33:09 -04:00
parent 7fbb1924d0
commit 9bbb9ecfb9
17 changed files with 291 additions and 56 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.2.46",
"_release": "1.2.46",
"version": "1.2.47",
"_release": "1.2.47",
"_resolution": {
"type": "version",
"tag": "1.2.46",
"commit": "7c6fde73db194c24806367c052cf29d8d044b1a2"
"tag": "1.2.47",
"commit": "52f3790ed3d535fa00811d7922c899f85273b25c"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View file

@ -588,10 +588,12 @@
}
}
fetch(baseUrl + '/tvguide.template.html', { mode: 'no-cors' }).then(function (response) {
return response.text();
}).then(function (template) {
var xhr = new XMLHttpRequest();
xhr.open('GET', baseUrl + '/tvguide.template.html', true);
xhr.onload = function (e) {
var template = this.response;
var context = options.element;
context.innerHTML = globalize.translateDocument(template, 'core');
@ -622,7 +624,9 @@
itemShortcuts.on(context);
self.refresh();
});
}
xhr.send();
};
Guide.setBaseUrl = function (url) {