Bug #3805
closed
"Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)
Added by Axel Suppantschitsch almost 9 years ago.
Updated almost 9 years ago.
Found in version:
4.1.2038
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.
- 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.
I need to know the contents of tvheadend.language javascript variable.
The tvheadend.language variable seems to empty: tvheadend.language = ""
The tvheadend.language variable seems to be empty: tvheadend.language = ""
This variable is assigned to:
tvheadend.language = window.navigator.userLanguage || window.navigator.language;
Appearently, your browser does not return this info.
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.
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|5dfc7d510b30fe02b9bb3c1b118a628d0b7358e8.
Fixed in v4.1-2047-g5dfc7d5 . Thanks Mark .
Also available in: Atom
PDF