Skip to content

Implemented DocOpen event and fixed doc() function of JSField

The document scripts that currently execute on opening the document, are not associated with the DocOpen event. This patch does that and sets the target for the DocOpen event. It does not however set the targetName as of yet.

This patch also fixes a bug where calling the doc property for a JSField returns the global object and not the Doc object.

Merge request reports