Ignore:
Timestamp:
05/07/10 11:16:25 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Removendo procedimento para manipulação de interface do local inapropriado.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/js/expressolivre/expressolivre.js

    r2729 r2732  
    99 
    1010        var _language = [ ] 
     11 
     12        var _divAppboxHeader = null; 
     13        var _divAppbox = null; 
     14 
     15        var _loading = new Image( ); 
    1116 
    1217        function _go( ) 
     
    8489        window.ExpressoLivre = _ExpressoLivre( ); 
    8590 
    86         _xlink = new XLink( ExpressoLivre.path( ) ); 
     91        _xlink = new XLink( _path( ) ); 
     92        _xlink.handler( { 
     93                        "before" : function( ) 
     94                        { 
     95                                if ( _divAppboxHeader ) 
     96                                        _divAppboxHeader.innerHTML = ''; 
     97 
     98                                if ( _divAppbox ) 
     99                                { 
     100                                        var _center = document.createElement( 'center' ); 
     101                                        _center.appendChild( _loading ); 
     102 
     103                                        _divAppbox.innerHTML = ''; 
     104                                        _divAppbox.appendChild( _center ); 
     105                                } 
     106                        }, 
     107                        "after" : function( ) 
     108                        { 
     109                                if ( _divAppbox ) 
     110                                        _divAppbox.innerHTML = ''; 
     111 
     112                                while ( arguments[ 0 ].hasChildNodes( ) ) 
     113                                        _divAppbox.appendChild( arguments[ 0 ].firstChild ); 
     114                        } 
     115        } ); 
    87116 
    88117        _xconnector = new XConnector( { 
     
    91120        } ); 
    92121 
     122        _loading.src = _path( ) + 'phpgwapi/templates/' + _template( ) + '/images/loading.gif'; 
     123 
    93124        XEvents.add( window, 'onload', function( ) 
    94125        { 
     126                _divAppboxHeader = document.getElementById( 'divAppboxHeader' ); 
     127                _divAppboxHeader.innerHTML = ''; 
     128 
     129                _divAppbox = document.getElementById( 'divAppbox' ); 
     130                _divAppbox.innerHTML = ''; 
     131 
    95132                document.getElementsByTagName( 'body' ).item( 0 ).style.overflowY = 'scroll'; 
    96133 
Note: See TracChangeset for help on using the changeset viewer.