data-confirm-modal
data-confirm-modal copied to clipboard
Makes Rails' link_to confirm: 'foo' build a Bootstrap Modal instead of calling the browser's confirm() API.
I'm getting this with bootstrap 4: MODAL: Option "backdrop" provided type "undefined" but expected type "(boolean|string)" The link is just link_to 'Cancel account', registration_path(resource_name), method: :delete, class: 'btn btn-danger', data:...
Hi, How can I control the confirmation event, to close the modal only when it succeeds? Do not have any option to set the backdrop and keyboard? ex. $('#myModal').modal({backdrop: 'static',...
This change adds full node support and avoids having jQuery defined at parsing time, so that initialisation and jQuery binding can be done afterwards. Builds on work originally started in...