Re: [Release] Navigation MFD
Posted: Thu Jun 27, 2024 4:20 pm
Been getting a bunch of these lately.
Which has been traced back to this bit of code (line 388 in notepad++) from the script.js file (config folder) in this OXZ.
The only TWEAKS made to this file are changing the km and kilometer references to Kiloometers at the very beginning of the file. This is a standard practice of mine and has caused no other similar problems. Why the error is being generated is beyond me. Any and all help would be deeply appreciated.
Code: Select all
[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (navi_mfd 1.9.2): TypeError: whom.target is null
Code: Select all
// Tracker OXP
else if (this.$targetName === "Tracker") {
if (whom.target.displayName)
this.$targetName = whom.target.displayName;
else this.$targetName = whom.target.name;
this.$targetName += " (Tracked)";
}