src/aria/popups/Popup.js
function (domEvent) {
            if (this.conf.closeOnMouseClick) {
                var event = {
                    name : "onMouseClickClose",
                    cancelClose : false,
                    domEvent : domEvent
                };
                this.$raiseEvent(event);

                // timeout needed by IE for the PTR07394450 : it allows the browser to move the focus (asynchronous in
                // IE), before to close the popup
                if (ariaCoreBrowser.isIE) {
                    var that = this;
                    setTimeout(function () {
                        that.close(domEvent);
                    }, 1);
                } else {
                    this.close(domEvent);
                }
                return true;
            }
        }
function (domEvent) {
            if (this.conf.closeOnMouseClick) {
                var event = {
                    name : "onMouseClickClose",
                    cancelClose : false,
                    domEvent : domEvent
                };
                this.$raiseEvent(event);

                // timeout needed by IE for the PTR07394450 : it allows the browser to move the focus (asynchronous in
                // IE), before to close the popup
                if (ariaCoreBrowser.isIE) {
                    var that = this;
                    setTimeout(function () {
                        that.close(domEvent);
                    }, 1);
                } else {
                    this.close(domEvent);
                }
                return true;
            }
        }
function ( domEvent ) { if ( this . conf . closeOnMouseClick ) { var event = { name : "onMouseClickClose" , cancelClose : false , domEvent : domEvent } ; this . $raiseEvent ( event ) ; // timeout needed by IE for the PTR07394450 : it allows the browser to move the focus (asynchronous in // IE), before to close the popup if ( ariaCoreBrowser . isIE ) { var that = this ; setTimeout ( function ( ) { that . close ( domEvent ) ; } , 1 ) ; } else { this . close ( domEvent ) ; } return true ; } }
Close triggered by a mouse click, coming from the popup manager Close the popup according to the
configuration
@param {aria.DomEvent} domEvent event that triggered the closing of the popup
Close triggered by a mouse click coming from the popup manager Close the popup according to the configuration