Ignore:
Timestamp:
04/27/10 09:54:22 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Mitigando problema com escopo do dominio.

File:
1 edited

Legend:

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

    r2628 r2630  
    77        var _divAppboxHeader = null; 
    88        var _loading = new Image( ); 
    9         _loading.src = URL_SERVER + '/phpgwapi/images/loading.gif'; 
     9        _loading.src = URL_SERVER + 'phpgwapi/images/loading.gif'; 
    1010 
    1111        function handler( pLink ) 
     
    6868                                                        else 
    6969                                                                _script.add( _new_scripts[ i ][ 2 ].substr( 
    70                                                                         URL_SERVER.length, 
    71                                                                         _new_scripts[ i ][ 2 ].indexOf( '?' ) - URL_SERVER.length 
     70                                                                        URL_SERVER.length - 1, 
     71                                                                        _new_scripts[ i ][ 2 ].indexOf( '?' ) - URL_SERVER.length + 1 
    7272                                                                ) ); 
    7373 
     
    9494                        if ( _scripts.item( i ).getAttribute( 'src' ) != null ) 
    9595                                _loaded[ _loaded.length ] = _scripts.item( i ).getAttribute( 'src' ).substr( 
    96                                         URL_SERVER.length, 
    97                                         _scripts.item( i ).getAttribute( 'src' ).indexOf( '?' ) - URL_SERVER.length 
     96                                        URL_SERVER.length - 1, 
     97                                        _scripts.item( i ).getAttribute( 'src' ).indexOf( '?' ) - URL_SERVER.length + 1 
    9898                                ); 
    9999 
Note: See TracChangeset for help on using the changeset viewer.