XUL:Attribute:ondialogaccept
From MDC
- ondialogaccept
- Type: script code
- The code in this attribute is called when the accept button is pressed, or when the acceptDialog method is called. If the handler returns
true, the dialog will indeed go away, but if it returnsfalseit will not.