Changeset 2603 for trunk/expressoMail1_2/index.php
- Timestamp:
- 04/20/10 11:58:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/index.php
r2598 r2603 161 161 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'DropDownContacts', 'expressoMail1_2' ); 162 162 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'InfoContact', 'expressoMail1_2' ); 163 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'main', 'expressoMail1_2' );164 163 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'local_messages', 'expressoMail1_2' ); 165 164 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'messages_controller', 'expressoMail1_2' ); 166 165 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'rich_text_editor', 'expressoMail1_2' ); 167 166 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'wfolders', 'expressoMail1_2' ); 167 $GLOBALS['phpgw']->js->validate_file( 'jscode', 'main', 'expressoMail1_2' ); 168 168 169 169 if ( $GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'expressoMail' ][ 'use_shortcuts' ] ) … … 194 194 $script .= ' expresso.connector.updateVersion = "'. $GLOBALS['phpgw_info']['flags']['update_version'] . '";'; 195 195 $script .= ' var cyrus_delimiter = "' . $_SESSION['phpgw_info']['expressomail']['email_server']['imapDelimiter'] . '";'; 196 //$script .= ' var init_time = setInterval( function( ){ if ( document.body ){ clearTimeout( init_time );init( ); } }, "4000" );';196 $script .= ( ( array_key_exists( 'HTTP_BACKGROUNDREQUEST', $_SERVER ) || array_key_exists( 'BackgroundRequest', $_GET ) ) ? 'init( );' : 'XEvents.add( window, "onload", init)' ); 197 197 $script .= '</script>'; 198 198
Note: See TracChangeset
for help on using the changeset viewer.