bootstrap-waitingfor icon indicating copy to clipboard operation
bootstrap-waitingfor copied to clipboard

show.bs.modal doesn't trigger

Open hognevevle opened this issue 7 years ago • 1 comments

Hi,

As this plugin uses the modal component of Bootstrap, one would expect the default events to be usable (such as 'show.bs.modal'). However, when calling waitingDialog.show();, that event doesn't seem to be triggered as expected.

Am I missing something, or is this a bug?

Example: https://bootsnipp.com/snippets/PElzm (check the HTML. The second console.log() is never executed).

hognevevle avatar Jul 06 '17 20:07 hognevevle

Hi. Well it's probably a bug caused by dynamically created html. So your document boud event handler is never called.

ehpc avatar Oct 03 '17 10:10 ehpc