Bug #3805
"Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)
100%
Description
The "Services" and "Recording" tabs do not show any data with Firefox (46.0.1) although the data is present and available (empty lists). With other browsers (Chrome, Edge) there is no issue. The Firefox JS console shows the following error:
RangeError: invalid language tag: idnode.js:380:30
The issue has already been addressed by the following changeset to build 4.1.1982: [[https://tvheadend.org/projects/tvheadend/repository/revisions/4169e8e2c4758c4f45ab33ca6525c414f17cbd8b]]
Unfortunately the issue is still present with build 4.1.2038.
History
Updated by Jaroslav Kysela over 8 years ago
- Subject changed from "Services" and "Recording" tabs show no data in Firefox (Java Script Error) to "Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)
Firefox under linux is fine (Czech language settings) - it must be a problem for the specific firefox configuration / OS usage.
Updated by Jaroslav Kysela over 8 years ago
I need to know the contents of tvheadend.language javascript variable.
Updated by Axel Suppantschitsch over 8 years ago
The tvheadend.language variable seems to empty: tvheadend.language = ""
Updated by Axel Suppantschitsch over 8 years ago
The tvheadend.language variable seems to be empty: tvheadend.language = ""
Updated by Jaroslav Kysela over 8 years ago
This variable is assigned to:
tvheadend.language = window.navigator.userLanguage || window.navigator.language;
Appearently, your browser does not return this info.
Updated by Axel Suppantschitsch over 8 years ago
Well, I just checked the browser language preferences. It was empty. I added English as a default and now it works. As a browser obviously can have an empty language preference, I would suggest to check if the variable is empty and if it is to set it by default to English.
Updated by Mark Clarkstone over 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|5dfc7d510b30fe02b9bb3c1b118a628d0b7358e8.