Ignore:
Timestamp:
04/27/10 16:58:10 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Corigindo problemas com o ordenamento referente aos javascripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/jscode/common_functions.js

    r2618 r2642  
    11// BEGIN: FUNCTION RESIZE WINDOW 
    2 /* 
    32if (!expresso_offline) { 
    43        var _showBar = showBar; 
    54        var _hideBar = hideBar; 
    65} 
    7 */ 
    86 
    97function __showBar(){ 
     
    1917hideBar = __hideBar; 
    2018 
    21 window.onresize = resizeWindow; 
     19XEvents.add( window, 'onresize', resizeWindow ); 
    2220 
    2321function resizeWindow(){ 
     
    3634                        var div = Element("content_id_"+BordersArray[i].sequence); 
    3735 
    38                         // This comented code cause/avoid (!?) Firefox to stuck some request 
    3936                        if(div) 
    40 //                              div.setAttribute("style","height: "+parseInt(defaultHeight - 90)+"px;"); 
    41                                 div.style.height = defaultHeight - 90; 
     37                                div.style.height = ( defaultHeight - 90 ) + 'px'; 
    4238                        if(div_scroll) 
    43 //                              div_scroll.setAttribute("style","height: "+parseInt(defaultHeight - 130)+"px;"); 
    44                                 div_scroll.style.height = defaultHeight - 130; 
     39                                div_scroll.style.height = ( defaultHeight - 130 ) + 'px'; 
    4540                } 
    4641        } 
Note: See TracChangeset for help on using the changeset viewer.