Hi Brian,
> The JacobianFunctionGraph uses code from MoI's TEXT command/factory and in MoI3, displays some text.
Right, but the problem is that some of that code from MoI's Text command is trying to access UI controls (like for the font dropdown) that were in the Text command but are not present in JacobianFunctionGraph. This is happening in the function PopulateFonts() in the .htm file. If you remove that function, and also remove the 2 places in the .js that were calling it, then I think you should avoid that 'font' error.
Basically the text command in its UI had a <moi:Select id="font"> which that code would add stuff to, JacobianFunctionGraph doesn't have that control in its UI yet it is still trying to run the code that added to it. In v3 it just happened that the error was silently masked.
Hope that makes sense! :) The other parts that use the text factory for generating text curves are fine, those ones are not trying to access any UI controls that are not present in this command. The one that's the problem is PopulateFonts() in the .htm file.
- Michael
|