scaron/prettyphoto — pull request #97 by pulse00 (2012-05-17 14:10:49+00:00)
Title: Added beforeClose callback

This callback is called before prettyPhoto closing logic starts, the callback gets itsels a callback to trigger the prettyPhoto closing logic.

Use case is if you need to close some custom controls prior to prettyPhoto closes.