>-----Original Message-----
>From: Franklin, Matthew B. [mailto:[email protected]]
>Sent: Wednesday, May 09, 2012 8:22 AM
>To: [email protected]
>Subject: RE: [DISCUSS] OpenViews Modal
>
>>-----Original Message-----
>>From: Chris Geer [mailto:[email protected]]
>>Sent: Tuesday, May 08, 2012 11:25 PM
>>To: [email protected]
>>Subject: [DISCUSS] OpenViews Modal
>>
>>I've been spending a lot of time with the open_views feature. I really like
>>how things look right now using the bootstrap modal however the
>>functionality is just not there. The biggest problem I have is that if you
>>click anywhere off the dialog it automatically closes which doesn't work
>
>There is a flag that we can pass to the Bootstrap modal to NOT close on click.
>

Correct, and that flag is being passed. Rave implements dialog and modal_dialog 
(aka rave.opensocial.VIEW_TARGETS.DIALOG / MODALDIALOG), are you using the 
modal version? It is receiving the backdrop: 'static' flag,  and should not 
ever close except clicking on a button bound to gadgets.views.close.  The 
standard dialog does not have the static backdrop.

>>very well for users who miss click. I've been working on a mod that would
>>allow you to define popups that can use either bootstrap modal or jquery
>>popups.
>
>IMHO implementers should be able to use whatever type of UI that they
>want, but it would be nice if we could support that without actually including 
>a
>reference to jQuery UI in the demo.  The reason behind this is to keep the
>demo as simple as possible.
>
>Now, if implementers are unable to use jQuery UI due to some decision we
>made in the code, we should fix that.

I believe the pattern that Chris put in place to extend / override the popups 
should allow someone to use jqui or any other library.

>
>>
>>Are there other things we could do to make this more usable?
>>
>>Chris

Reply via email to