src/aria/widgets/container/Dialog.js
function () {
            var cfg = this._cfg;
            var getDomElementChild = ariaUtilsDom.getDomElementChild;
            this._domElt = this._popup.domElement;
            var titleBarDomElt = this._titleBarDomElt = getDomElementChild(this._domElt, 0, titleLast);
            this._titleDomElt = getDomElementChild(titleBarDomElt, cfg.icon ? 1 : 0);
            this._onDimensionsChanged();

            this._calculatePosition();

            if (cfg.autoFocus) {
                ariaTemplatesNavigationManager.focusFirst(this._domElt);
            } else if (cfg.modal) {
                var document = Aria.$window.document;
                var activeElement = document.activeElement;
                if (activeElement && activeElement !== document.body) {
                    activeElement.blur();
                }
            }

            ariaCoreTimer.addCallback({
                fn : function () {
                    // check that the dialog was not disposed
                    if (this._cfg) {
                        this.waiReadText(cfg.waiOpenMsg);
                        this.evalCallback(cfg.onOpen);
                    }
                },
                scope : this,
                delay : 4
            });

            if (cfg.maximized) {
                return; // don't create movable nor resizable
            }

            if (cfg.movable) {
                this._loadAndCreateDraggable();
            }

            if (cfg.resizable) {
                this._loadAndCreateResizable();
            }
        }
function () {
            var cfg = this._cfg;
            var getDomElementChild = ariaUtilsDom.getDomElementChild;
            this._domElt = this._popup.domElement;
            var titleBarDomElt = this._titleBarDomElt = getDomElementChild(this._domElt, 0, titleLast);
            this._titleDomElt = getDomElementChild(titleBarDomElt, cfg.icon ? 1 : 0);
            this._onDimensionsChanged();

            this._calculatePosition();

            if (cfg.autoFocus) {
                ariaTemplatesNavigationManager.focusFirst(this._domElt);
            } else if (cfg.modal) {
                var document = Aria.$window.document;
                var activeElement = document.activeElement;
                if (activeElement && activeElement !== document.body) {
                    activeElement.blur();
                }
            }

            ariaCoreTimer.addCallback({
                fn : function () {
                    // check that the dialog was not disposed
                    if (this._cfg) {
                        this.waiReadText(cfg.waiOpenMsg);
                        this.evalCallback(cfg.onOpen);
                    }
                },
                scope : this,
                delay : 4
            });

            if (cfg.maximized) {
                return; // don't create movable nor resizable
            }

            if (cfg.movable) {
                this._loadAndCreateDraggable();
            }

            if (cfg.resizable) {
                this._loadAndCreateResizable();
            }
        }
function ( ) { var cfg = this . _cfg ; var getDomElementChild = ariaUtilsDom . getDomElementChild ; this . _domElt = this . _popup . domElement ; var titleBarDomElt = this . _titleBarDomElt = getDomElementChild ( this . _domElt , 0 , titleLast ) ; this . _titleDomElt = getDomElementChild ( titleBarDomElt , cfg . icon ? 1 : 0 ) ; this . _onDimensionsChanged ( ) ; this . _calculatePosition ( ) ; if ( cfg . autoFocus ) { ariaTemplatesNavigationManager . focusFirst ( this . _domElt ) ; } else if ( cfg . modal ) { var document = Aria . $window . document ; var activeElement = document . activeElement ; if ( activeElement && activeElement !== document . body ) { activeElement . blur ( ) ; } } ariaCoreTimer . addCallback ( { fn : function ( ) { // check that the dialog was not disposed if ( this . _cfg ) { this . waiReadText ( cfg . waiOpenMsg ) ; this . evalCallback ( cfg . onOpen ) ; } } , scope : this , delay : 4 } ) ; if ( cfg . maximized ) { return ; // don't create movable nor resizable } if ( cfg . movable ) { this . _loadAndCreateDraggable ( ) ; } if ( cfg . resizable ) { this . _loadAndCreateResizable ( ) ; } }
Is called right after the popup is displayed.
Is called right after the popup is displayed .