Control.Modal no cancel on outside click
Property:
overlayCloseOnClick: false
I use it in my confirm box and it works
Control.Modal.open(confirmacion, {fade:true,opacity: 0.8,width: 300,containerClassName: 'confirm',overlayClassName: 'confirm',overlayCloseOnClick: false});
Posted November 12th, 2007 at 1:24am by wk
Ok, this is something that I'm thinking must be available, and is likely staring me in the face... but I'm not seeing it, so I thought I'd post.
When I create a modal on a webpage you can click out side the box and it will cancel the modal. Which is nice for many uses, but in this case I'd like to force the user to make a choice or click a clearly marked cancel button. But I'm not seeing how to disable the "clicking outside the modal box cancels it" feature.
Thanks,
G
Posted November 10th, 2007 at 11:32pm by Agent G