responds_to?(:chris)

Chris Cherry's random snippets of geek 
« Back to blog

ModalBox Confirm plugin

ModalBox is an awesome modal dialog library based on prototype and script.aculo.us. It's simple, featureful, small (24KB, uncompressed), and easy to use. I was adding some style-frosting to a new application recently and I thought it would be great to have the Rails link_to helper use ModalBox automatically for ":confirm" messages. Hours later, this plugin was born. I know I'm going to get alot of use out of it, so I figure some of you will as well. Heres the repository:

http://github.com/ctcherry/modalbox_confirm

Comments (5)

Jan 25, 2010
FYI, the repository is no longer available. I found a fork here : http://github.com/kakra/modalbox_confirm
Jan 25, 2010
Chris Cherry said...
Thanks for catching that! I changed my github username since them. The new URL is http://github.com/ctcherry/modalbox_confirm

Jan 25, 2010
You welcome, i noticed the URL in your README file is wrong too.
Jan 25, 2010
Chris Cherry said...
Updated! Thanks again.
Jan 28, 2010
Hi,

I noticed that using :confirm on a submit_tag when modalbox_confirm is installed was generating a weird argument error. Could please enlight me on this issue?

Thanks per advance.

Leave a comment...