-
onbeforeaccept
- Type: script code
-
The code in this attribute is called when the OK button is pressed or the
acceptDialog
method is called. Returningfalse
doesn't currently prevent the dialog from closing, but does prevent saving (bug 474527).
onbeforeaccept
acceptDialog
method is called. Returning false
doesn't currently prevent the dialog from closing, but does prevent saving (bug 474527).