From 19b9a259b14edc3f6bf362a4bdbeb68cc4478d64 Mon Sep 17 00:00:00 2001 From: beardypig Date: Thu, 21 Jan 2021 11:59:20 +0100 Subject: [PATCH] Correctly unset the category for a channel in XEPG Stores `""` to `x-category` when the category is unset, previosuly `"-"` was stored which would append a `` to each `` for the channel. fixes #209 --- ts/menu_ts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/menu_ts.ts b/ts/menu_ts.ts index 613ef55..c8480c4 100644 --- a/ts/menu_ts.ts +++ b/ts/menu_ts.ts @@ -1568,7 +1568,7 @@ function openPopUp(dataType, element) { // Erweitern der EPG Kategorie var dbKey:string = "x-category" var text:string[] = ["-", "Kids (Emby only)", "News", "Movie", "Series", "Sports"] - var values:string[] = ["-", "Kids", "News", "Movie", "Series", "Sports"] + var values:string[] = ["", "Kids", "News", "Movie", "Series", "Sports"] var select = content.createSelect(text, values, data[dbKey], dbKey) select.setAttribute("onchange", "javascript: this.className = 'changed'") content.appendRow("{{.mapping.epgCategory.title}}", select)