a:43:{s:9:"#provides";s:12:"dijit.Dialog";s:9:"#resource";s:9:"Dialog.js";s:9:"#requires";a:10:{i:0;a:3:{i:0;s:6:"common";i:1;s:13:"dojo.dnd.move";i:2;s:4:"dojo";}i:1;a:3:{i:0;s:6:"common";i:1;s:22:"dojo.dnd.TimedMoveable";i:2;s:4:"dojo";}i:2;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}i:3;a:2:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";}i:4;a:2:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";}i:5;a:2:{i:0;s:6:"common";i:1;s:21:"dijit.form._FormMixin";}i:6;a:2:{i:0;s:6:"common";i:1;s:18:"dijit._DialogMixin";}i:7;a:2:{i:0;s:6:"common";i:1;s:20:"dijit.DialogUnderlay";}i:8;a:2:{i:0;s:6:"common";i:1;s:24:"dijit.layout.ContentPane";}i:9;a:2:{i:0;s:6:"common";i:1;s:19:"dijit.TooltipDialog";}}s:12:"dijit.Dialog";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dijit.layout.ContentPane";}s:4:"call";a:4:{i:0;s:24:"dijit.layout.ContentPane";i:1;s:16:"dijit._Templated";i:2;s:21:"dijit.form._FormMixin";i:3;s:18:"dijit._DialogMixin";}}s:6:"mixins";a:1:{s:9:"prototype";a:3:{i:0;s:26:"dijit._Templated.prototype";i:1;s:31:"dijit.form._FormMixin.prototype";i:2;s:28:"dijit._DialogMixin.prototype";}}s:7:"summary";s:21:"A modal dialog Widget";s:11:"description";s:180:"Pops up a modal dialog window, blocking access to the screen and also graying out the screen Dialog is extended from ContentPane so it supports all the same parameters (href, etc.)";s:8:"examples";a:2:{i:0;s:55:"
";i:1;s:135:" var foo = new dijit.Dialog({ title: "test dialog", content: "test content" }; dojo.body().appendChild(foo.domNode); foo.startup();";}s:9:"classlike";b:1;}s:27:"dijit.Dialog.templateString";a:2:{s:9:"prototype";s:12:"dijit.Dialog";s:7:"summary";s:0:"";}s:25:"dijit.Dialog.templatePath";a:2:{s:9:"prototype";s:12:"dijit.Dialog";s:7:"summary";s:0:"";}s:25:"dijit.Dialog.attributeMap";a:2:{s:9:"prototype";s:12:"dijit.Dialog";s:7:"summary";s:0:"";}s:17:"dijit.Dialog.open";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:8:"instance";s:12:"dijit.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:48:"True if Dialog is currently displayed on screen.";}s:21:"dijit.Dialog.duration";a:3:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:7:"Integer";s:7:"summary";s:63:"The time in milliseconds it takes the dialog to fade in and out";}s:20:"dijit.Dialog.refocus";a:3:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:173:"A Toggle to modify the default focus behavior of a Dialog, which is to re-focus the element which had focus before being opened. False will disable refocusing. Default: true";}s:22:"dijit.Dialog.autofocus";a:3:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:177:"A Toggle to modify the default focus behavior of a Dialog, which is to focus on the first dialog element after opening the dialog. False will disable autofocusing. Default: true";}s:28:"dijit.Dialog._firstFocusItem";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:8:"instance";s:12:"dijit.Dialog";s:4:"tags";a:1:{i:0;s:7:"private";}s:4:"type";s:8:"readonly";s:7:"summary";s:106:"DomNode The pointer to the first focusable node in the dialog. Set by `dijit._DialogMixin._getFocusItems`.";s:7:"private";b:1;}s:27:"dijit.Dialog._lastFocusItem";a:5:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"tags";a:1:{i:0;s:7:"private";}s:4:"type";s:8:"readonly";s:7:"summary";s:108:"DomNode The pointer to which node has focus prior to our dialog. Set by `dijit._DialogMixin._getFocusItems`.";s:7:"private";b:1;}s:21:"dijit.Dialog.doLayout";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"tags";a:1:{i:0;s:9:"protected";}s:4:"type";s:7:"Boolean";s:7:"summary";s:250:"Don't change this parameter from the default value. This ContentPane parameter doesn't make sense for Dialog, since Dialog is never a child of a layout container, nor can you specify the size of Dialog in order to control the size of an inner widget.";}s:22:"dijit.Dialog.draggable";a:3:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:138:"Toggles the moveable aspect of the Dialog. If true, Dialog can be dragged by it's title. If false it will remain centered in the viewport.";}s:22:"dijit.Dialog._fixSizes";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:82:"Does this Dialog attempt to restore the width and height after becoming too small?";s:7:"private";b:1;}s:32:"dijit.Dialog.postMixInProperties";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:134:" var _nlsResources = dojo.i18n.getLocalization("dijit", "common"); dojo.mixin(this, _nlsResources); this.inherited(arguments);";s:7:"summary";s:0:"";}s:23:"dijit.Dialog.postCreate";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:312:" dojo.style(this.domNode, { visibility:"hidden", position:"absolute", display:"", top:"-9999px" }); dojo.body().appendChild(this.domNode); this.inherited(arguments); this.connect(this, "onExecute", "hide"); this.connect(this, "onCancel", "hide"); this._modalconnects = [];";s:7:"summary";s:0:"";}s:19:"dijit.Dialog.onLoad";a:5:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:50:" this._position(); this.inherited(arguments);";s:7:"summary";s:161:"Called when data has been loaded from an href. Unlike most other callbacks, this function can be connected to (via `dojo.connect`) but should *not* be overriden.";s:4:"tags";s:90:"callback when href is specified we need to reposition the dialog after the data is loaded";}s:21:"dijit.Dialog._endDrag";a:7:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:217:" if(e && e.node && e.node === this.domNode){ var vp = dijit.getViewport(); var p = e._leftTop || dojo.coords(e.node,true); this._relativePosition = { t: p.t - vp.t, l: p.l - vp.l } }";s:7:"summary";s:107:"Called after dragging the Dialog. Calculates the relative offset of the Dialog in relation to the viewport.";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:19:"dijit.Dialog._setup";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:1387:" var node = this.domNode; if(this.titleBar && this.draggable){ this._moveable = (dojo.isIE == 6) ? new dojo.dnd.TimedMoveable(node, { handle: this.titleBar }) : // prevent overload, see #5285 new dojo.dnd.Moveable(node, { handle: this.titleBar, timeout: 0 }); dojo.subscribe("/dnd/move/stop",this,"_endDrag"); }else{ dojo.addClass(node,"dijitDialogFixed"); } var underlayAttrs = { dialogId: this.id, "class": dojo.map(this["class"].split(/\s/), function(s){ return s+"_underlay"; }).join(" ") }; var underlay = dijit._underlay; if(!underlay){ underlay = dijit._underlay = new dijit.DialogUnderlay(underlayAttrs); } this._fadeIn = dojo.fadeIn({ node: node, duration: this.duration, beforeBegin: function(){ underlay.attr(underlayAttrs); underlay.show(); }, onEnd: dojo.hitch(this, function(){ if(this.autofocus){ // find focusable Items each time dialog is shown since if dialog contains a widget the // first focusable items can change this._getFocusItems(this.domNode); dijit.focus(this._firstFocusItem); } }) }); this._fadeOut = dojo.fadeOut({ node: node, duration: this.duration, onEnd: function(){ node.style.visibility="hidden"; node.style.top = "-9999px"; dijit._underlay.hide(); } });";s:7:"summary";s:131:"Stuff we need to do before showing the Dialog for the first time (but we defer it until right beforehand, for performance reasons).";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:25:"dijit.Dialog.uninitialize";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:376:" var wasPlaying = false; if(this._fadeIn && this._fadeIn.status() == "playing"){ wasPlaying = true; this._fadeIn.stop(); } if(this._fadeOut && this._fadeOut.status() == "playing"){ wasPlaying = true; this._fadeOut.stop(); } if(this.open || wasPlaying){ dijit._underlay.hide(); } if(this._moveable){ this._moveable.destroy(); }";s:7:"summary";s:0:"";}s:18:"dijit.Dialog._size";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:414:" var mb = dojo.marginBox(this.domNode); var viewport = dijit.getViewport(); if(mb.w >= viewport.w || mb.h >= viewport.h){ dojo.style(this.containerNode, { width: Math.min(mb.w, Math.floor(viewport.w * 0.75))+"px", height: Math.min(mb.h, Math.floor(viewport.h * 0.75))+"px", overflow: "auto", position: "relative" // workaround IE bug moving scrollbar or dragging dialog }); }";s:7:"summary";s:56:"Make sure the dialog is small enough to fit in viewport.";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:22:"dijit.Dialog._position";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:397:" if(!dojo.hasClass(dojo.body(),"dojoMove")){ var node = this.domNode; var viewport = dijit.getViewport(); var p = this._relativePosition; var mb = p ? null : dojo.marginBox(node); dojo.style(node,{ left: Math.floor(viewport.l + (p ? p.l : (viewport.w - mb.w) / 2)) + "px", top: Math.floor(viewport.t + (p ? p.t : (viewport.h - mb.h) / 2)) + "px" }); }";s:7:"summary";s:260:"Position modal dialog in the viewport. If no relative offset in the viewport has been determined (by dragging, for instance), center the node. Otherwise, use the Dialog's stored relative offset, and position the node to top: left: values based on the viewport.";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:19:"dijit.Dialog._onKey";a:8:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"evt";a:1:{s:4:"type";s:5:"Event";}}s:6:"source";s:1336:" if(evt.charOrCode){ var dk = dojo.keys; var node = evt.target; if (evt.charOrCode === dk.TAB){ this._getFocusItems(this.domNode); } var singleFocusItem = (this._firstFocusItem == this._lastFocusItem); // see if we are shift-tabbing from first focusable item on dialog if(node == this._firstFocusItem && evt.shiftKey && evt.charOrCode === dk.TAB){ if(!singleFocusItem){ dijit.focus(this._lastFocusItem); // send focus to last item in dialog } dojo.stopEvent(evt); }else if(node == this._lastFocusItem && evt.charOrCode === dk.TAB && !evt.shiftKey){ if (!singleFocusItem){ dijit.focus(this._firstFocusItem); // send focus to first item in dialog } dojo.stopEvent(evt); }else{ // see if the key is for the dialog while(node){ if(node == this.domNode){ if(evt.charOrCode == dk.ESCAPE){ this.onCancel(); }else{ return; // just let it go } } node = node.parentNode; } // this key is for the disabled document window if(evt.charOrCode !== dk.TAB){ // allow tabbing into the dialog for a11y dojo.stopEvent(evt); // opera won't tab to a div }else if(!dojo.isOpera){ try{ this._firstFocusItem.focus(); }catch(e){ /*squelch*/ } } } }";s:7:"summary";s:53:"Handles the keyboard events for accessibility reasons";s:4:"tags";s:7:"private";s:7:"returns";s:14:"just let it go";s:7:"private";b:1;}s:17:"dijit.Dialog.show";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:1315:" if(this.open){ return; } // first time we show the dialog, there's some initialization stuff to do if(!this._alreadyInitialized){ this._setup(); this._alreadyInitialized=true; } if(this._fadeOut.status() == "playing"){ this._fadeOut.stop(); } this._modalconnects.push(dojo.connect(window, "onscroll", this, "layout")); this._modalconnects.push(dojo.connect(window, "onresize", this, function(){ // IE gives spurious resize events and can actually get stuck // in an infinite loop if we don't ignore them var viewport = dijit.getViewport(); if(!this._oldViewport || viewport.h != this._oldViewport.h || viewport.w != this._oldViewport.w){ this.layout(); this._oldViewport = viewport; } })); this._modalconnects.push(dojo.connect(dojo.doc.documentElement, "onkeypress", this, "_onKey")); dojo.style(this.domNode, { opacity:0, visibility:"" }); if(this._fixSizes){ dojo.style(this.containerNode, { // reset width and height so that _size():marginBox works correctly width:"auto", height:"auto" }); } this.open = true; this._onShow(); // lazy load trigger this._size(); this._position(); this._fadeIn.play(); this._savedFocus = dijit.getFocus(this);";s:7:"summary";s:18:"Display the dialog";}s:17:"dijit.Dialog.hide";a:5:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:11580:"dojo.provide("dijit.Dialog"); dojo.require("dojo.dnd.move"); dojo.require("dojo.dnd.TimedMoveable"); dojo.require("dojo.fx"); dojo.require("dijit._Widget"); dojo.require("dijit._Templated"); dojo.require("dijit.form._FormMixin"); dojo.require("dijit._DialogMixin"); dojo.require("dijit.DialogUnderlay"); dojo.require("dijit.layout.ContentPane"); dojo.requireLocalization("dijit", "common"); dijit._underlay = function(kwArgs){ // summary: // A shared instance of a `dijit.DialogUnderlay` // // description: // A shared instance of a `dijit.DialogUnderlay` created and // used by `dijit.Dialog`, though never created until some Dialog // or subclass thereof is shown. }; dojo.declare( "dijit.Dialog", [dijit.layout.ContentPane, dijit._Templated, dijit.form._FormMixin, dijit._DialogMixin], { // summary: // A modal dialog Widget // // description: // Pops up a modal dialog window, blocking access to the screen // and also graying out the screen Dialog is extended from // ContentPane so it supports all the same parameters (href, etc.) // // example: // |
// // example: // | var foo = new dijit.Dialog({ title: "test dialog", content: "test content" }; // | dojo.body().appendChild(foo.domNode); // | foo.startup(); templateString: null, templatePath: dojo.moduleUrl("dijit", "templates/Dialog.html"), attributeMap: dojo.delegate(dijit._Widget.prototype.attributeMap, { title: [ { node: "titleNode", type: "innerHTML" }, { node: "titleBar", type: "attribute" } ] }), // open: Boolean // True if Dialog is currently displayed on screen. open: false, // duration: Integer // The time in milliseconds it takes the dialog to fade in and out duration: dijit.defaultDuration, // refocus: Boolean // A Toggle to modify the default focus behavior of a Dialog, which // is to re-focus the element which had focus before being opened. // False will disable refocusing. Default: true refocus: true, // autofocus: Boolean // A Toggle to modify the default focus behavior of a Dialog, which // is to focus on the first dialog element after opening the dialog. // False will disable autofocusing. Default: true autofocus: true, // _firstFocusItem: [private] [readonly] DomNode // The pointer to the first focusable node in the dialog. // Set by `dijit._DialogMixin._getFocusItems`. _firstFocusItem: null, // _lastFocusItem: [private] [readonly] DomNode // The pointer to which node has focus prior to our dialog. // Set by `dijit._DialogMixin._getFocusItems`. _lastFocusItem: null, // doLayout: [protected] Boolean // Don't change this parameter from the default value. // This ContentPane parameter doesn't make sense for Dialog, since Dialog // is never a child of a layout container, nor can you specify the size of // Dialog in order to control the size of an inner widget. doLayout: false, // draggable: Boolean // Toggles the moveable aspect of the Dialog. If true, Dialog // can be dragged by it's title. If false it will remain centered // in the viewport. draggable: true, // _fixSizes: Boolean // Does this Dialog attempt to restore the width and height after becoming too small? _fixSizes: true, postMixInProperties: function(){ var _nlsResources = dojo.i18n.getLocalization("dijit", "common"); dojo.mixin(this, _nlsResources); this.inherited(arguments); }, postCreate: function(){ dojo.style(this.domNode, { visibility:"hidden", position:"absolute", display:"", top:"-9999px" }); dojo.body().appendChild(this.domNode); this.inherited(arguments); this.connect(this, "onExecute", "hide"); this.connect(this, "onCancel", "hide"); this._modalconnects = []; }, onLoad: function(){ // summary: // Called when data has been loaded from an href. // Unlike most other callbacks, this function can be connected to (via `dojo.connect`) // but should *not* be overriden. // tags: // callback // when href is specified we need to reposition the dialog after the data is loaded this._position(); this.inherited(arguments); }, _endDrag: function(e){ // summary: // Called after dragging the Dialog. Calculates the relative offset // of the Dialog in relation to the viewport. // tags: // private if(e && e.node && e.node === this.domNode){ var vp = dijit.getViewport(); var p = e._leftTop || dojo.coords(e.node,true); this._relativePosition = { t: p.t - vp.t, l: p.l - vp.l } } }, _setup: function(){ // summary: // Stuff we need to do before showing the Dialog for the first // time (but we defer it until right beforehand, for // performance reasons). // tags: // private var node = this.domNode; if(this.titleBar && this.draggable){ this._moveable = (dojo.isIE == 6) ? new dojo.dnd.TimedMoveable(node, { handle: this.titleBar }) : // prevent overload, see #5285 new dojo.dnd.Moveable(node, { handle: this.titleBar, timeout: 0 }); dojo.subscribe("/dnd/move/stop",this,"_endDrag"); }else{ dojo.addClass(node,"dijitDialogFixed"); } var underlayAttrs = { dialogId: this.id, "class": dojo.map(this["class"].split(/\s/), function(s){ return s+"_underlay"; }).join(" ") }; var underlay = dijit._underlay; if(!underlay){ underlay = dijit._underlay = new dijit.DialogUnderlay(underlayAttrs); } this._fadeIn = dojo.fadeIn({ node: node, duration: this.duration, beforeBegin: function(){ underlay.attr(underlayAttrs); underlay.show(); }, onEnd: dojo.hitch(this, function(){ if(this.autofocus){ // find focusable Items each time dialog is shown since if dialog contains a widget the // first focusable items can change this._getFocusItems(this.domNode); dijit.focus(this._firstFocusItem); } }) }); this._fadeOut = dojo.fadeOut({ node: node, duration: this.duration, onEnd: function(){ node.style.visibility="hidden"; node.style.top = "-9999px"; dijit._underlay.hide(); } }); }, uninitialize: function(){ var wasPlaying = false; if(this._fadeIn && this._fadeIn.status() == "playing"){ wasPlaying = true; this._fadeIn.stop(); } if(this._fadeOut && this._fadeOut.status() == "playing"){ wasPlaying = true; this._fadeOut.stop(); } if(this.open || wasPlaying){ dijit._underlay.hide(); } if(this._moveable){ this._moveable.destroy(); } }, _size: function(){ // summary: // Make sure the dialog is small enough to fit in viewport. // tags: // private var mb = dojo.marginBox(this.domNode); var viewport = dijit.getViewport(); if(mb.w >= viewport.w || mb.h >= viewport.h){ dojo.style(this.containerNode, { width: Math.min(mb.w, Math.floor(viewport.w * 0.75))+"px", height: Math.min(mb.h, Math.floor(viewport.h * 0.75))+"px", overflow: "auto", position: "relative" // workaround IE bug moving scrollbar or dragging dialog }); } }, _position: function(){ // summary: // Position modal dialog in the viewport. If no relative offset // in the viewport has been determined (by dragging, for instance), // center the node. Otherwise, use the Dialog's stored relative offset, // and position the node to top: left: values based on the viewport. // tags: // private if(!dojo.hasClass(dojo.body(),"dojoMove")){ var node = this.domNode; var viewport = dijit.getViewport(); var p = this._relativePosition; var mb = p ? null : dojo.marginBox(node); dojo.style(node,{ left: Math.floor(viewport.l + (p ? p.l : (viewport.w - mb.w) / 2)) + "px", top: Math.floor(viewport.t + (p ? p.t : (viewport.h - mb.h) / 2)) + "px" }); } }, _onKey: function(/*Event*/ evt){ // summary: // Handles the keyboard events for accessibility reasons // tags: // private if(evt.charOrCode){ var dk = dojo.keys; var node = evt.target; if (evt.charOrCode === dk.TAB){ this._getFocusItems(this.domNode); } var singleFocusItem = (this._firstFocusItem == this._lastFocusItem); // see if we are shift-tabbing from first focusable item on dialog if(node == this._firstFocusItem && evt.shiftKey && evt.charOrCode === dk.TAB){ if(!singleFocusItem){ dijit.focus(this._lastFocusItem); // send focus to last item in dialog } dojo.stopEvent(evt); }else if(node == this._lastFocusItem && evt.charOrCode === dk.TAB && !evt.shiftKey){ if (!singleFocusItem){ dijit.focus(this._firstFocusItem); // send focus to first item in dialog } dojo.stopEvent(evt); }else{ // see if the key is for the dialog while(node){ if(node == this.domNode){ if(evt.charOrCode == dk.ESCAPE){ this.onCancel(); }else{ return; // just let it go } } node = node.parentNode; } // this key is for the disabled document window if(evt.charOrCode !== dk.TAB){ // allow tabbing into the dialog for a11y dojo.stopEvent(evt); // opera won't tab to a div }else if(!dojo.isOpera){ try{ this._firstFocusItem.focus(); }catch(e){ /*squelch*/ } } } } }, show: function(){ // summary: // Display the dialog if(this.open){ return; } // first time we show the dialog, there's some initialization stuff to do if(!this._alreadyInitialized){ this._setup(); this._alreadyInitialized=true; } if(this._fadeOut.status() == "playing"){ this._fadeOut.stop(); } this._modalconnects.push(dojo.connect(window, "onscroll", this, "layout")); this._modalconnects.push(dojo.connect(window, "onresize", this, function(){ // IE gives spurious resize events and can actually get stuck // in an infinite loop if we don't ignore them var viewport = dijit.getViewport(); if(!this._oldViewport || viewport.h != this._oldViewport.h || viewport.w != this._oldViewport.w){ this.layout(); this._oldViewport = viewport; } })); this._modalconnects.push(dojo.connect(dojo.doc.documentElement, "onkeypress", this, "_onKey")); dojo.style(this.domNode, { opacity:0, visibility:"" }); if(this._fixSizes){ dojo.style(this.containerNode, { // reset width and height so that _size():marginBox works correctly width:"auto", height:"auto" }); } this.open = true; this._onShow(); // lazy load trigger this._size(); this._position(); this._fadeIn.play(); this._savedFocus = dijit.getFocus(this); }, hide: function(){ // summary: // Hide the dialog // if we haven't been initialized yet then we aren't showing and we can just return if(!this._alreadyInitialized){ return; } if(this._fadeIn.status() == "playing"){ this._fadeIn.stop(); } this._fadeOut.play(); if (this._scrollConnected){ this._scrollConnected = false; } dojo.forEach(this._modalconnects, dojo.disconnect); this._modalconnects = []; if(this.refocus){ this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus)); } if(this._relativePosition){ delete this._relativePosition; } this.open = false;";s:7:"returns";s:14:"just let it go";s:7:"summary";s:0:"";}s:19:"dijit.Dialog.layout";a:5:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:106:" if(this.domNode.style.visibility != "hidden"){ dijit._underlay.layout(); this._position(); }";s:7:"summary";s:36:"Position the Dialog and the underlay";s:4:"tags";s:7:"private";}s:20:"dijit.Dialog.destroy";a:4:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:190:" dojo.forEach(this._modalconnects, dojo.disconnect); if(this.refocus && this.open){ setTimeout(dojo.hitch(dijit,"focus",this._savedFocus), 25); } this.inherited(arguments); ";s:7:"summary";s:0:"";}s:26:"dijit.Dialog._onCloseEnter";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:69:" dojo.addClass(this.closeButtonNode, "dijitDialogCloseIcon-hover");";s:7:"summary";s:39:"Called when user hovers over close icon";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:26:"dijit.Dialog._onCloseLeave";a:6:{s:9:"prototype";s:12:"dijit.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:72:" dojo.removeClass(this.closeButtonNode, "dijitDialogCloseIcon-hover");";s:7:"summary";s:47:"Called when user stops hovering over close icon";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:27:"dijit.Dialog._modalconnects";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dijit.Dialog._relativePosition";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:22:"dijit.Dialog._moveable";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:20:"dijit.Dialog._fadeIn";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:21:"dijit.Dialog._fadeOut";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dijit.Dialog._alreadyInitialized";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dijit.Dialog._oldViewport";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dijit.Dialog._savedFocus";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dijit.Dialog._scrollConnected";a:3:{s:8:"instance";s:12:"dijit.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:15:"dijit._underlay";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"kwArgs";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:251:" // summary: // A shared instance of a `dijit.DialogUnderlay` // // description: // A shared instance of a `dijit.DialogUnderlay` created and // used by `dijit.Dialog`, though never created until some Dialog // or subclass thereof is shown.";s:7:"summary";s:45:"A shared instance of a `dijit.DialogUnderlay`";s:11:"description";s:150:"A shared instance of a `dijit.DialogUnderlay` created and used by `dijit.Dialog`, though never created until some Dialog or subclass thereof is shown.";s:7:"private";b:1;}s:4:"this";a:2:{s:6:"mixins";a:1:{s:6:"normal";a:1:{i:0;s:13:"_nlsResources";}}s:7:"summary";s:0:"";}s:5:"dijit";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}