powmedia / backbone.bootstrap-modal

Bootstrap Modal wrapper for use with Backbone.
MIT License
183 stars 97 forks source link

How to NOT display the Cancel and OK buttons? #64

Open kramer65 opened 10 years ago

kramer65 commented 10 years ago

I love this little library! It got me start using modals with Backbone quick and easy. I want to use it so that users can do a search in my DB, click one of the results, and return that result to the main screen to edit it.

I already have a little cross to close the modal on the right top (<button type="button" class="close" data-dismiss="modal" aria-hidden="true">X</button>), and because of this, I don't need the Cancel and OK button.

Does anybody know how I can somehow prevent it from displaying the cancel and ok button? All tips are welcome!

rejas commented 10 years ago

Isnt the option "showFooter: false" what you are looking for?