mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update shared components
This commit is contained in:
parent
98b0114719
commit
1190972d6c
13 changed files with 129 additions and 107 deletions
|
@ -2032,8 +2032,8 @@
|
|||
$('.btnRecord,.btnFloatingRecord', page).on('click', function () {
|
||||
|
||||
var id = getParameterByName('id');
|
||||
require(['components/recordingcreator/recordingcreator'], function (recordingcreator) {
|
||||
recordingcreator.show(id).then(function () {
|
||||
require(['recordingCreator'], function (recordingCreator) {
|
||||
recordingCreator.show(id, currentItem.ServerId).then(function () {
|
||||
reload(page);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -563,8 +563,8 @@
|
|||
Dashboard.navigate('itemdetails.html?id=' + albumid);
|
||||
break;
|
||||
case 'record':
|
||||
require(['components/recordingcreator/recordingcreator'], function (recordingcreator) {
|
||||
recordingcreator.show(itemId);
|
||||
require(['recordingCreator'], function (recordingCreator) {
|
||||
recordingCreator.show(itemId, serverId);
|
||||
});
|
||||
break;
|
||||
case 'artist':
|
||||
|
|
|
@ -1821,14 +1821,12 @@ var AppInfo = {};
|
|||
|
||||
define("libjass", [bowerPath + "/libjass/libjass", "css!" + bowerPath + "/libjass/libjass"], returnFirstDependency);
|
||||
|
||||
define("recordingCreator", [embyWebComponentsBowerPath + "/recordingcreator/recordingcreator"], returnFirstDependency);
|
||||
define("mediaInfo", [embyWebComponentsBowerPath + "/mediainfo/mediainfo"], returnFirstDependency);
|
||||
define("backdrop", [embyWebComponentsBowerPath + "/backdrop/backdrop"], returnFirstDependency);
|
||||
define("fetchHelper", [embyWebComponentsBowerPath + "/fetchhelper"], returnFirstDependency);
|
||||
|
||||
define("tvguide", [embyWebComponentsBowerPath + "/guide/guide", 'embyRouter'], function (tvGuide, embyRouter) {
|
||||
tvGuide.setBaseUrl(embyRouter.baseUrl() + '/bower_components/emby-webcomponents/guide');
|
||||
return tvGuide;
|
||||
});
|
||||
define("tvguide", [embyWebComponentsBowerPath + "/guide/guide", 'embyRouter'], returnFirstDependency);
|
||||
|
||||
define("viewManager", [embyWebComponentsBowerPath + "/viewmanager"], function (viewManager) {
|
||||
viewManager.dispatchPageEvents(true);
|
||||
|
@ -1869,8 +1867,9 @@ var AppInfo = {};
|
|||
waitSeconds: 0,
|
||||
map: {
|
||||
'*': {
|
||||
'css': bowerPath + '/emby-webcomponents/requirecss',
|
||||
'html': bowerPath + '/emby-webcomponents/requirehtml'
|
||||
'css': bowerPath + '/emby-webcomponents/require/requirecss',
|
||||
'html': bowerPath + '/emby-webcomponents/require/requirehtml',
|
||||
'text': bowerPath + '/emby-webcomponents/require/requiretext'
|
||||
}
|
||||
},
|
||||
urlArgs: urlArgs,
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
ApiClient.ajax({
|
||||
|
||||
type: 'GET',
|
||||
url: 'components/tvproviders/' + type + '.template.html'
|
||||
url: 'components/tvproviders/' + type.toLowerCase() + '.template.html'
|
||||
|
||||
}).then(function (html) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue