Created by: ryan-endacott
When a modal is triggered by a button, the button is now passed as a parameter to the 'shown' event as mentioned in #6159 (closed).
Ex:
$('#myModal').on('shown', function (e, source) {
// source is the element that triggered the modal
})
Tested on IE9, Firefox 14, and Chrome 23.