Change Log
- Enhancement: Changed header declaration so the window and document object can be passed in, and use ECMAScript 5's strict mode.
- Enhancement: Reworked jQuery .on() method patch for jQuery < 1.7 so it is more concise.
- Bug: Fixed broken stashing support in the default Facebox dialog. The dialog was closing immediately upon restoring from the stash.
- Bug: Fixed missing
</p>
closing tag in the default Facebox dialog. - Bug: Use event.which instead of event.keyCode, since which has been patched in jQuery to work in any browser.
- Bug: Patch for #49 (commit 26fdfec) caused the
beforeunload.dirtyforms
event to fire twice when continuing from the dialog. - Bug: Performance was less than optimal when checking the dirty status because the logic was not set up correctly to exit from unnecessary looping after finding a dirty node.