Skip to content

Commit

Permalink
[#520 state:resolved] Ajax transition-buttons not working.
Browse files Browse the repository at this point in the history
Thanks for the nice test case, Betelgeuse.
  • Loading branch information
bryanlarsen committed Nov 20, 2009
1 parent 7fa236b commit efc28cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hobo/taglibs/rapid_lifecycles.dryml
Expand Up @@ -25,6 +25,7 @@ All of the [standard ajax attributes](/api_taglibs/rapid_forms) are also support

if (update || !ajax_attributes.empty?) && !has_params
ajax_attributes[:message] ||= label
ajax_attributes[:method] = html_attributes[:method]
func = ajax_updater(url, update, ajax_attributes)
html_attributes.update(:onclick => "var e = this; " + func, :type =>'button', :value => label)
element(:input, html_attributes, nil, true, true)
Expand Down

0 comments on commit efc28cc

Please sign in to comment.