<p dir="auto">Hi there,</p>
<p dir="auto">Please see this example: <a href="http://jsbin.com/ulopaj/4" rel="nofollow">http://jsbin.com/ulopaj/4</a></p>
<p dir="auto">There is a link with a tooltip applied in the modal.</p>
<p dir="auto">I set a 'shown' event handler function to the modal, it works when the modal is popped up, then try to hover the link inside the modal, the 'shown' event handler will be invoked again.</p>
<p dir="auto">You can see the source code of this example here: <a href="http://jsbin.com/ulopaj/4/edit" rel="nofollow">http://jsbin.com/ulopaj/4/edit</a></p>
<p dir="auto">Any help will be appreciated, thank you very much.</p>
<p dir="auto">The triggered show and hide event bubbles to the modal dialog when using tooltips in modal dialog. So, the show and hide of the modal dialog will also be triggered.</p>
<p dir="auto">Following should work as workaround:<br>
$('[rel="tooltip"','.modal').tooltip().on('show', function(e) {e.stopPropagation();}).on('hide', function(e) {e.stopPropagation();});</p>
<p dir="auto">Possible fix:<br>
Namespacing the triggered event to 'show.tooltip', to prevent bubbling to 'show.modal'.</p>