Ignore:
Timestamp:
04/30/10 17:08:28 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Corrigindo problema de contexto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2648 r2677  
    393393 
    394394                                        $GLOBALS['phpgw_info']['flags']['java_script_thirst'] .= '<script type="text/javascript">' 
    395                                                 . 'var URL_SERVER = "' . $webserver_url . '";' 
     395                                                . 'var URL_SERVER = window.location.protocol + "//" + window.location.host + "' . $webserver_url . '";' 
    396396                                                . 'var template = "' . $GLOBALS[ 'phpgw_info' ][ 'server' ][ 'template_set' ] . '";</script>'; 
    397397 
     
    402402                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'tools','xscript', NULL, true ); 
    403403                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'tools','xconnector', NULL, true ); 
     404                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'tools','xml', NULL, true ); 
    404405                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'tools','xevent', NULL, true ); 
    405406                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'tools','xobject', NULL, true ); 
Note: See TracChangeset for help on using the changeset viewer.