twitter/bootstrap — pull request #5217 by jburris (2012-09-20 19:35:32+00:00)
Title: Allow state other than loading to disable button

When setting a button's state, other than loading, we might want the
button to be disabled. This is especially useful for buttons which
might go through several states (as progress indicators) or for
buttons which have a complete, and disabled, state.

E.G.

State initial : Reveal Code (enabled)

State loading : Revealing Code (disabled)

State complete : Reveaed Code (disabled)

Tested in :
`Chrome v21.0.1180.89`
`Firefox v12.0`