Changeset 2509
- Timestamp:
- 04/13/10 16:45:41 (14 years ago)
- Location:
- trunk/phpgwapi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/js/tools/xconnector.js
r2507 r2509 258 258 if ( this._cache && this._CACHED[ _ID ] ) 259 259 { 260 this._cache = false; 260 261 if ( _THREADS[ _ID ]._HANDLER.request ) 261 262 _THREADS[ _ID ]._HANDLER.request( this._CACHED[ _ID ] ); -
trunk/phpgwapi/js/tools/xlink.js
r2507 r2509 9 9 { 10 10 var action = pLink.href; 11 /*12 11 var a = ( action.indexOf( 'javascript:' ) === 0 ); 13 12 a = ( a || ( action.indexOf( '#' ) === 0 ) ); 14 13 a = ( a || ( action.indexOf( window.location + '#' ) === 0 ) ); 15 */ 16 var a = ( action.indexOf( 'admin' ) > 0 ); 17 a = ( a || action.indexOf( 'home' ) > 0 ); 18 a = ( a || action.indexOf( 'contactcenter' ) > 0 ); 19 a = ( a || action.indexOf( 'expressoAdmin1_2' ) > 0 ); 20 a = ( a || action.indexOf( 'filemanager' ) > 0 ); 21 a = ( a || action.indexOf( 'jabberit_messenger' ) > 0 ); 22 a = ( a || action.indexOf( 'preferences' ) > 0 ); 23 a = ( a || action.indexOf( 'calendar' ) > 0 ); 24 a = ! ( a && ! ( action.indexOf( '#' ) === 0 || action.indexOf( window.location + '#' ) === 0 || action.indexOf( 'javascript:' ) === 0 ) ); 14 a = ( a || ! ( action.indexOf( 'workflow' ) < 0 ) ); 15 a = ( a || ! ( action.indexOf( 'expressoMail1_2' ) < 0 ) ); 25 16 26 17 if ( ! a ) … … 29 20 _container.innerHTML = ''; 30 21 _container.appendChild( _loading ); 31 _connector.cache( ); 22 if ( pLink.hasAttribute( 'cacheit' ) && pLink.getAttribute( 'cacheit' ) === 'true' ) 23 _connector.cache( ); 32 24 var request = _connector.go( { 33 25 'access' : action, -
trunk/phpgwapi/templates/default/navbar.inc.php
r2505 r2509 70 70 if($app != 'preferences' && $app != 'about' && $app != 'logout') 71 71 { 72 $icon = '<a href="'.$app_data['url'].'" >';72 $icon = '<a href="'.$app_data['url'].'" cacheit="'.( ( $app == 'admin' || $app == 'expressoAdmin1_2' ) ? 'true' : 'false').'">'; 73 73 $title = $GLOBALS['phpgw_info']['apps'][$app]['title']; 74 74 if($app == 'home') $title = lang('Home');
Note: See TracChangeset
for help on using the changeset viewer.