Ticket #711 (closed enhancement: wontfix)
separate function for onunload event
| Reported by: | FND | Owned by: | MartinBudden |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Currently, TiddlyWiki embeds the code for the onunload event directly in the HTML element:
<body onload="main();" onunload="if(window.checkUnsavedChanges) checkUnsavedChanges(); if(window.scrubNodes) scrubNodes(document.body);">
This should be moved to a separate function so it can be hijacked/overridden.
Change History
Note: See
TracTickets for help on using
tickets.
