twitter/bootstrap — Issue #1117: Buttons do not reset after clicking "back" in Firefox 
Author: andrew545
Created: 2012-01-23 19:32:57+00:00
State: open

After submitting a form in Firefox, the submit button is disabled and its label is changed to the data-loading-text value, as expected. However, clicking the browser's "back" button leaves the button disabled with its alternate text displayed.

I've fixed this by tacking the following into my general page script, but it would be nice if there was an official, automated way for handling this:

```
window.onpageshow = function(){
$('.btn').button('reset').attr({'disabled':false});
};
```

I'm new to GitHub, so please excuse any misunderstandings I've made or boundaries I've overstepped!