Changeset 7515
- Timestamp:
- 03/03/07 13:48:51 (23 months ago)
- Files:
-
- 2 modified
-
branches/0.4/src/lfx/html.js (modified) (2 diffs)
-
trunk/src/lfx/html.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/src/lfx/html.js
r6661 r7515 317 317 display=""; 318 318 } 319 var height = dojo.html.getBorderBox(node).height;319 var nodeHeight = dojo.html.getBorderBox(node).height; 320 320 with(node.style){ 321 321 top=origTop; left=origLeft; position=origPosition; … … 326 326 { "height": { 327 327 start: 1, // 0 causes IE to display the whole panel 328 end: function(){ return height; }328 end: function(){ return nodeHeight; } 329 329 } 330 330 }, -
trunk/src/lfx/html.js
r7000 r7515 311 311 // (for FF, the node has to be (temporarily) rendered to measure height) 312 312 with(node.style){ 313 visibility="hidden" 313 visibility="hidden"; 314 314 display=""; 315 315 } 316 var height = dojo.html.getBorderBox(node).height;316 var nodeHeight = dojo.html.getBorderBox(node).height; 317 317 with(node.style){ 318 318 visibility=""; … … 323 323 { "height": { 324 324 start: 1, // 0 causes IE to display the whole panel 325 end: function(){ return height; }325 end: function(){ return nodeHeight; } 326 326 } 327 327 },