MSFS import B78XH_SystemInfo.js file after B787_10_MFD.js and B787_10_SYS.js sometimes.
calling:
_this.B78XH_SystemsInfo = new B78XHSystemsInfo();
throw an exception in the situation
Solutions:
1) do not use B78XH_SystemsInfo class in SYS pages and use direct calls for SimVars
2) wrap _this.B78XH_SystemsInfo = new B78XHSystemsInfo(); into try cache block try to init the class in init() and updateChild() methods
3) try to import the B78XHSystemInfo.js different than using:
_
in _B787_10MFD.html or _B787_10SYS.html
maybe Include.addScript('/B78XH/Systems/B78XH_SystemsInfo.js'); in _B787_10MFD.js
MSFS import B78XH_SystemInfo.js file after B787_10_MFD.js and B787_10_SYS.js sometimes.
calling:
_this.B78XH_SystemsInfo = new B78XHSystemsInfo();
throw an exception in the situation
Solutions: 1) do not use B78XH_SystemsInfo class in SYS pages and use direct calls for SimVars 2) wrap _this.B78XH_SystemsInfo = new B78XHSystemsInfo(); into try cache block try to init the class in init() and updateChild() methods 3) try to import the B78XHSystemInfo.js different than using: _ in _B787_10MFD.html or _B787_10SYS.html
maybe Include.addScript('/B78XH/Systems/B78XH_SystemsInfo.js'); in _B787_10MFD.js
We will call direct for SimVars right now...