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

Merge pull request #387 from jellyfin/release-10.3.z

Backmerge for Release 10.3.4, 10.3.5, and 10.3.6
This commit is contained in:
Joshua M. Boniface 2019-07-06 17:13:07 -04:00
commit d11167eae5
5 changed files with 19 additions and 17 deletions

View file

@ -23,6 +23,8 @@
- [thornbill](https://github.com/thornbill) - [thornbill](https://github.com/thornbill)
- [redSpoutnik](https://github.com/redSpoutnik) - [redSpoutnik](https://github.com/redSpoutnik)
- [DrPandemic](https://github.com/drpandemic) - [DrPandemic](https://github.com/drpandemic)
- [Oddstr13](https://github.com/oddstr13)
- [petermcneil](https://github.com/petermcneil)
# Emby Contributors # Emby Contributors

View file

@ -13,7 +13,7 @@ define(["events", "appStorage"], function(events, appStorage) {
} }
function Credentials(key) { function Credentials(key) {
this.key = key || "servercredentials3" this.key = key || "jellyfin_credentials"
} }
return Credentials.prototype.clear = function() { return Credentials.prototype.clear = function() {
this._credentials = null, appStorage.removeItem(this.key) this._credentials = null, appStorage.removeItem(this.key)

View file

@ -28,15 +28,18 @@ define(["dialogHelper", "loading", "connectionManager", "globalize", "actionshee
function onChannelsElementClick(e) { function onChannelsElementClick(e) {
var btnMap = parentWithClass(e.target, "btnMap"); var btnMap = parentWithClass(e.target, "btnMap");
if (btnMap) { if (btnMap) {
var channelId = btnMap.getAttribute("data-id"), var channelId = btnMap.getAttribute("data-id");
providerChannelId = btnMap.getAttribute("data-providerid"), var providerChannelId = btnMap.getAttribute("data-providerid");
menuItems = currentMappingOptions.ProviderChannels.map(function(m) { var menuItems = currentMappingOptions.ProviderChannels.map(function(m) {
return { return {
name: m.Name, name: m.Name,
id: m.Id, id: m.Id,
selected: m.Id.toLowerCase() === providerChannelId.toLowerCase() selected: m.Id.toLowerCase() === providerChannelId.toLowerCase()
} }
}).sort(function (a, b) {
return a.name.localeCompare(b.name);
}); });
actionsheet.show({ actionsheet.show({
positionTo: btnMap, positionTo: btnMap,
items: menuItems items: menuItems

View file

@ -194,7 +194,7 @@ define(['globalize', 'connectionManager', 'serverNotifications', 'require', 'loa
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active'); var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
if (isChecked) { if (isChecked) {
context.querySelector('.recordSeriesContainer').classList.remove('hide'); options.parent.querySelector('.recordSeriesContainer').classList.remove('hide');
if (!this.SeriesTimerId) { if (!this.SeriesTimerId) {
var promise = this.TimerId ? var promise = this.TimerId ?
recordingHelper.changeRecordingToSeries(apiClient, this.TimerId, options.programId) : recordingHelper.changeRecordingToSeries(apiClient, this.TimerId, options.programId) :

View file

@ -4,7 +4,7 @@
"description": "Jellyfin: the Free Software Media System.", "description": "Jellyfin: the Free Software Media System.",
"lang": "en-US", "lang": "en-US",
"short_name": "Jellyfin", "short_name": "Jellyfin",
"start_url": "/web/index.html", "start_url": "/web/index.html#!/home.html",
"theme_color": "#101010", "theme_color": "#101010",
"background_color": "#101010", "background_color": "#101010",
"display": "standalone", "display": "standalone",
@ -28,8 +28,5 @@
"src": "touchicon512.png", "src": "touchicon512.png",
"type": "image/png" "type": "image/png"
} }
], ]
"related_applications": [{
"platform": "web"
}]
} }