You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the :confirm option on buttons isn't working for me, but works for link_to. i can find no evidence of this breaking for others via google so i suspect i might having something else wrong.
<%= button_to "text", "/", :confirm => "are you sure?" %>
yields
<input data-confirm="are you sure?" name="commit" type="submit" />
Update: this is fixed on my fork: (see #11). Looking at jquery_ujs, it appeared that the form button click handler was missing a call to allowAction().
the :confirm option on buttons isn't working for me, but works for link_to. i can find no evidence of this breaking for others via google so i suspect i might having something else wrong.
yields
but line 159 of rails.js
isn't observing any input buttons. adding input[data-confirm] works for me, but is this suppose to be working without that addition?
The text was updated successfully, but these errors were encountered: