Changeset 7515

Show
Ignore:
Timestamp:
03/03/07 13:48:51 (23 months ago)
Author:
alex
Message:

fixes #2489

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/0.4/src/lfx/html.js

    r6661 r7515  
    317317                        display=""; 
    318318                } 
    319                 var height = dojo.html.getBorderBox(node).height; 
     319                var nodeHeight = dojo.html.getBorderBox(node).height; 
    320320                with(node.style){ 
    321321                        top=origTop; left=origLeft; position=origPosition; 
     
    326326                        {       "height": { 
    327327                                        start: 1, // 0 causes IE to display the whole panel 
    328                                         end: function(){ return height; }  
     328                                        end: function(){ return nodeHeight; }  
    329329                                } 
    330330                        },  
  • trunk/src/lfx/html.js

    r7000 r7515  
    311311                // (for FF, the node has to be (temporarily) rendered to measure height) 
    312312                with(node.style){ 
    313                         visibility="hidden" 
     313                        visibility="hidden"; 
    314314                        display=""; 
    315315                } 
    316                 var height = dojo.html.getBorderBox(node).height; 
     316                var nodeHeight = dojo.html.getBorderBox(node).height; 
    317317                with(node.style){ 
    318318                        visibility=""; 
     
    323323                        {       "height": { 
    324324                                        start: 1, // 0 causes IE to display the whole panel 
    325                                         end: function(){ return height; }  
     325                                        end: function(){ return nodeHeight; }  
    326326                                } 
    327327                        },