mconf-web
mconf-web copied to clipboard
Disable buttons when clicked
Author Name: Leonardo Daronco (Leonardo Daronco) Original Redmine Issue: 329, http://dev.mconf.org/redmine/issues/329
@Google user: [email protected]@
Disable the buttons when they are clicked to prevent multiple clicks. Use the "Stateful" type in "http://twitter.github.com/bootstrap/javascript.html#buttons" rel="nofollow":http://twitter.github.com/bootstrap/javascript.html#buttons
Original Redmine Comment Author Name: Leonardo Daronco (Leonardo Daronco) Original Date: 2014-08-21T21:22:08Z
Rails 4 also has an option called @:disable_with@ that might be useful, see: http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to