diff options
author | Paco Guzman <fjguzman@aspgems.com> | 2010-06-28 09:47:54 +0200 |
---|---|---|
committer | Paco Guzman <fjguzman@aspgems.com> | 2010-06-28 09:47:54 +0200 |
commit | 37c44c8e707c53937237baba5ee5a100dc6cfc5c (patch) | |
tree | b2b8d3aef07995ec11e176f38782774a1ed086fb /actionpack | |
parent | 4329f8133fee8e4f3e558787f67de59f0c4a4dd1 (diff) | |
download | rails-37c44c8e707c53937237baba5ee5a100dc6cfc5c.tar.gz rails-37c44c8e707c53937237baba5ee5a100dc6cfc5c.tar.bz2 rails-37c44c8e707c53937237baba5ee5a100dc6cfc5c.zip |
Added disable_with option description to button_to helper
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 6af11e632f..85a5c40562 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -285,6 +285,10 @@ module ActionView # * <tt>:confirm</tt> - This will use the unobtrusive JavaScript driver to # prompt with the question specified. If the user accepts, the link is # processed normally, otherwise no action is taken. + # * <tt>:disable_with</tt> - This will use the unobtrusive JavaScript driver to + # set the input value to the message specified when the user clicks the button and disable the + # button while the ajax call is executed. Then the input value is set to the original and the button + # is enabled # * <tt>:remote</tt> - If set to true, will allow the Unobtrusive JavaScript drivers to control the # submit behaviour. By default this behaviour is an ajax submit. # |