Reputation: 96614
I can't the "confirm" dialog to come up. The record gets deleted ok and the page is updated, but no confirm dialog :(
= button_to('- - -', sched_set_path(sched_set_id),
:confirm => 'Are you sure you want to delete this schedule?',
:method => :delete,
:action => :delete,
:class=> 'delete_icon')
Upvotes: 1
Views: 541
Reputation: 16012
Please ensure that jquery_ujs.js
is included in your compiled javascript asset.
Upvotes: 4