powmedia/backbone.bootstrap-modal — pull request #39 by danspam (2013-05-28 05:41:05+00:00)
Title: Added the ability to have loading text when ok is clicked using bootstrap button

Added the option of waitText which, when supplied, uses bootstrap button to change the text and disable the ok button when it is pressed. Useful for when long running operations occur when ok is clicked.

Also fixed an issue where the close method was not running correctly when the backdrop is clicked to hide the modal. This issue meant the modal was not properly cleaned up when the backdrop was clicked.