kylefox/jquery-modal — pull request #20 by adrianolaru (2012-04-19 10:05:53+00:00)
Title: Spinner code

- Spinner is not optional for ajax requests.
- Spinner uses a css class .modal-spinner which by default adds
a spinner background image but if you want to show text or HTML,
you can use the $.modal.defaults.spinnerHtml option.
- If AJAX get request fails, the spinner is closed and the modal will
not appear.