ifad / data-confirm-modal

Makes Rails' link_to confirm: 'foo' build a Bootstrap Modal instead of calling the browser's confirm() API.
MIT License
270 stars 115 forks source link

Allow adding custom class to the main modal element #26

Closed dminchev closed 9 years ago

dminchev commented 9 years ago

This feature allows users to add custom classes to the master modal element. It is useful when you have customized bootstrap theme which has specific modal behaviors (like the way they popup).

vjt commented 9 years ago

useful, thanks. I would rename customClass in modalClass, though.

dminchev commented 9 years ago

Welcome, just added a small fix, because it was missing the settings. prefix

vjt commented 9 years ago

Thanks