Change Log
- Bug: Reverted #66 because it is redundant to check for HREF here, duplicate of #59.
- Bug: Reverted #55 because it is redundant to check for HREF here, duplicate of #59.
- Bug: Fixed broken UMD support - plugin was using the jQuery object directly.
- Enhancement: Removed various blocks of redundant and overly verbose code, both to make it easier to maintain and to reduce the number of bytes in the download.
- Bug: Fixes #73 autofocused element not being marked dirty when changed.
- Enhancement: Made the bind, stash, refire, and selector members optional for dialogs. This will make them easier to implement.
- Feature: Closes #77, added support for ignoring child elements of containers (such as
<div>
and<form>
elements). - Bug: Fixes #45, escape key causing the beforeunload event to unregister with the default Facebox dialog. Added the fix (to capture the escape key, cancel the event, and call
$.DirtyForms.choiceCancel()
) to the documentation, since it applies to all dialogs. - Enhancement: Changed the build script to remove the logging code (debug feature) from the minified JavaScript to remove some 1300 bytes from the file. Logging is still available in the uncompressed file.
- Bug: Clicking on a blank target was causing the onbeforeunload event to unregister.
- Enhancement: Reformatted the readme to make it easier to visually parse.