logo

New Response

« Return to the main article

You are replying to:

  1. To make it easier use a formula in the HTML Body Attributes.

    @If( @IsDocBeingEdited ; "onLoad=\"f = document.forms[0]\" onbeforeunload=\"navigateAway()\";" ; "onLoad=\"f = document.forms[0] ;\"" )

    It won't do the check unless the document is in edit mode. Not nearly as annoying.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: