Changeset 2700 for trunk/phpgwapi


Ignore:
Timestamp:
05/04/10 11:40:21 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Forçando que a URL esteja sempre na raiz.

File:
1 edited

Legend:

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

    r2691 r2700  
    11( function( ) 
    22{ 
     3        if ( window.location.protocol + '//' + window.location.host + window.location.pathname != URL_SERVER ) 
     4                window.location.href = URL_SERVER + ( 
     5                        ( window.location.hash ) ? 
     6                                window.location.hash : '#' + String( window.location.protocol + '//' + window.location.host + window.location.pathname ).substr( URL_SERVER.length ) 
     7                ); 
     8 
    39        var _connector = new XConnector; 
    410        var _script = null; 
Note: See TracChangeset for help on using the changeset viewer.