Changeset 13696
- Timestamp:
- 05/12/08 08:26:13 (6 months ago)
- Location:
- dijit/trunk
- Files:
-
- 2 modified
-
layout/TabContainer.js (modified) (1 diff)
-
_base.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/layout/TabContainer.js
r13473 r13696 53 53 this.tablist.startup(); 54 54 this.inherited(arguments); 55 56 if(dojo.isSafari){57 // sometimes safari 3.0.3 miscalculates the height of the tab labels, see #405858 setTimeout(dojo.hitch(this, "layout"), 0);59 }60 55 61 56 if(dojo.isIE && !this.isLeftToRight() && this.tabPosition == "right-h" && -
dijit/trunk/_base.js
r13157 r13696 11 11 dojo.require("dijit._base.wai"); 12 12 dojo.require("dijit._base.window"); 13 14 // FIXME: Find a better way of solving this bug!15 if(dojo.isSafari){16 // Ugly-ass hack to solve bug #5626 for 1.1; basically force Safari to re-layout.17 // Note that we can't reliably use dojo.addOnLoad here because this bug is basically18 // a timing / race condition; so instead we use window.onload.19 dojo.connect(window, "load", function(){20 window.resizeBy(1,0);21 setTimeout(function(){ window.resizeBy(-1,0); }, 10);22 });23 }