prototype-rails icon indicating copy to clipboard operation
prototype-rails copied to clipboard

Handle data-confirm attribute in elements that submit forms

Open twalpole opened this issue 13 years ago • 0 comments

Handle data-confirm attribute added by ActionView::Helpers::FormTagHelper#submit_tag, image_submit_tag, and button_tag. The existing code appears to check for the data-confirm attribute on the form element, which doesnt appear to be correct according to the options listed for form_tag in the rails api docs, but I'm not 100% sure so I havent removed that

twalpole avatar Sep 01 '11 16:09 twalpole