Ignore:
Timestamp:
04/16/10 12:11:51 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Corrigindo problemas com a execução de javascript no ExpressoMail?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r2551 r2561  
    2121require_once('../header.inc.php'); 
    2222 
    23 include_once("inc/load_lang.php"); 
     23//include_once("inc/load_lang.php"); 
    2424 
    2525$_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; 
     
    145145$GLOBALS['phpgw']->js->validate_file( 'dftree', 'dftree' ); 
    146146 
    147 $GLOBALS['phpgw']->js->validate_file( 'modal', 'modal', 'expressoMail1_2' ); 
     147$GLOBALS['phpgw']->js->validate_file( 'jscode', 'load_lang', 'expressoMail1_2' ); 
     148 
     149//$GLOBALS['phpgw']->js->validate_file( 'modal', 'modal', 'expressoMail1_2' ); 
    148150$GLOBALS['phpgw']->js->validate_file( 'jscalendar', 'calendar', 'expressoMail1_2' ); 
    149151$GLOBALS['phpgw']->js->validate_file( 'jscalendar', 'calendar-setup', 'expressoMail1_2' ); 
     
    191193$script .= '    var account_id = ' . $GLOBALS['phpgw_info']['user']['account_id'] . ';'; 
    192194$script .= '    expresso.connector.updateVersion = "'. $GLOBALS['phpgw_info']['flags']['update_version'] . '";'; 
    193 $script .= '    init( );'; 
     195$script .= '    var cyrus_delimiter = "' . $_SESSION['phpgw_info']['expressomail']['email_server']['imapDelimiter'] . '";'; 
     196$script .= '    setTimeout( init, "300" );'; 
    194197$script .= '</script>'; 
    195198 
Note: See TracChangeset for help on using the changeset viewer.