Ignore:
Timestamp:
05/05/10 15:52:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Adaptando todo o expressoAdmin1_2 para não realizar reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/js/tools/xlink.js

    r2710 r2712  
    1717                        _action = window.location.protocol + '//' + window.location.host + _action; 
    1818 
    19                 if ( _action == _last_request ) 
     19                var _post = ( arguments.length == 3 && arguments[ 2 ] && arguments[ 2 ].constructor == String ) ? arguments[ 2 ] : null; 
     20 
     21                if ( _post == null && _action == _last_request ) 
    2022                        return false; 
    2123 
     
    3638                        'access' : _action, 
    3739                        'cache' : _cache, 
    38                         'handler' : _handler 
     40                        'handler' : _handler, 
     41                        'post' : _post 
    3942                } ); 
    4043 
     
    148151                _click( arguments[ 0 ], 
    149152                        ( 
    150                                 ( arguments.length > 1 && arguments[ 1 ].constructor == Boolean ) ? 
     153                                ( arguments.length > 1 && arguments[ 1 ] && arguments[ 1 ].constructor == Boolean ) ? 
    151154                                        arguments[ 1 ] : false 
     155                        ), 
     156                        ( 
     157                                ( arguments.length > 2 && arguments[ 2 ] && arguments[ 2 ].constructor == String ) ? 
     158                                        arguments[ 2 ] : null 
    152159                        ) 
    153160                ); 
Note: See TracChangeset for help on using the changeset viewer.