Changeset 12692
- Timestamp:
- 02/25/08 05:16:49 (11 months ago)
- Location:
- dijit/trunk
- Files:
-
- 3 modified
-
layout/AccordionContainer.js (modified) (1 diff)
-
layout/ContentPane.js (modified) (2 diffs)
-
tests/test_TooltipDialog.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/layout/AccordionContainer.js
r12691 r12692 205 205 this.focusNode.setAttribute("tabIndex", isSelected ? "0" : "-1"); 206 206 }, 207 207 208 208 _handleFocus: function(/*Event*/e){ 209 209 // summary: handle the blur and focus state of this widget -
dijit/trunk/layout/ContentPane.js
r12691 r12692 237 237 }, 238 238 239 _loadCheck: function(forceLoad){ 239 _isOpen: function(){ 240 // summary: returns true if the content is currently shown 241 if("open" in this){ 242 return this.open; // for TitlePane, etc. 243 }else if("selected" in this){ 244 return this.selected; // AccordionContainer, TabContainer 245 }else{ 246 var node = this.domNode; 247 return (node.style.display != 'none') && (node.style.visibility != 'hidden'); 248 } 249 }, 250 251 _loadCheck: function(/*Boolean*/ forceLoad){ 240 252 // call this when you change onShow (onSelected) status when selected in parent container 241 253 // it's used as a trigger for href download when this.domNode.display != 'none' … … 250 262 // domNode display != 'none', isLoaded must be false 251 263 252 var node = this.containerNode || this.domNode, 253 displayState = ((this.open !== false) && (node.style.display != 'none') && (node.style.visibility != 'hidden')); 264 var displayState = this._isOpen(); 254 265 255 266 if(this.href && -
dijit/trunk/tests/test_TooltipDialog.html
r12162 r12692 3 3 <html> 4 4 <head> 5 <title> Dialog Widget DojoTests</title>5 <title>TooltipDialog Widget Tests</title> 6 6 <style type="text/css"> 7 7 @import "../../dojo/resources/dojo.css"; … … 121 121 <div dojoType="dijit.form.DropDownButton"> 122 122 <span>Test slowloading HREF Tooltip Dialog</span> 123 <div dojoType="dijit.TooltipDialog" href="layout/getResponse.php?delay=500&messId=2" title="tooltip dialog with no focusable items">124 </div>123 <div dojoType="dijit.TooltipDialog" id="slowLoad" href="layout/getResponse.php?delay=500&messId=2" 124 title="tooltip dialog with no focusable items"></div> 125 125 </div> | 126 126