[ 
https://issues.apache.org/jira/browse/RAVE-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662172#comment-13662172
 ] 

Chris Geer commented on RAVE-971:
---------------------------------

1) Probably, that is correct - don't know how you track this though.
2) Well, from the default perspective I tend to agree with you. Where I'm 
having problems is that I don't use the default Rave popup definitions, I 
create my own where I set singleton to false (and use jquery, not bootstrap). 
For example...

var jquery_modal_900 = {
    name: 'jquery_modal_900'
    , containerSelector: '.ui-dialog-content'
    , contentSelector: '.p141-dialog-content'
    , template: 'jquery-dialog'
    , initialize: function (container) {
        container.find(this.contentSelector).data('popupType', this.name);
        initPopup(container, 900);
    }
    , cleanup: function (content) {
        var container = content.parents(this.containerSelector);
        container.dialog('close');
    }
    , singleton: false
};
                
> Layered Popups no longer close properly
> ---------------------------------------
>
>                 Key: RAVE-971
>                 URL: https://issues.apache.org/jira/browse/RAVE-971
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.21.1
>            Reporter: Chris Geer
>         Attachments: Demo_Showing_layered_popups.patch
>
>
> In previous versions of Rave we were able to open multiple pop-ups at the 
> same time and then close them properly. In this version of Rave there seems 
> to be a problem when you open multiple popups using the same template. When 
> you test using the attached patch you'll see that you can open multiple 
> popups but at least one of them will destroy the gadget content but not close 
> the popup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to