ci-bonfire/Bonfire — pull request #466 by mwhitneysdsu (2012-05-31 22:22:46+00:00)
Title: Filter selection on '.btn' selector before applying click event, replace...

...s previous fixes:

https://github.com/ci-bonfire/Bonfire/commit/1c9dce733eba19e856c110b484199c04aaa30fed
(clicking user edit button fires delete warning)
https://github.com/ci-bonfire/Bonfire/commit/7f2113a3e511a87f130767bde9b1a2a45f74183e
(Delete Activities button doesn't work)

This has the added benefits of:
- not applying an extra click event to buttons that don't need it
- not performing the check for the id in the click event
- doesn't require the selector to be updated every time someone puts an id on a button that doesn't need a confirm message