Ignore:
Timestamp:
04/09/10 12:22:03 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Permitindo que o ExpressoContacts? não realize reload de página.

Location:
trunk/contactcenter/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.ui_api.inc.php

    r1612 r2473  
    6262                        $template->set_var('cc_js_aux', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/contactcenter/js/ccAux.js'); 
    6363                        $template->set_var('cc_js_connector', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/contactcenter/js/connector.js'); 
    64                         $template->set_var('cc_js_wz_dragdrop', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/wz_dragdrop/wz_dragdrop.js'); 
    65                         $template->set_var('cc_js_dtree', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/dftree/dftree.js'); 
    66                         $template->set_var('cc_js_dtabs', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/dTabs/dTabs.js'); 
    67                         $template->set_var('cc_js_djswin', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/dJSWin/dJSWin.js'); 
    6864                        $template->set_var('cc_js_catalog_tree', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/contactcenter/js/cc_tree.js'); 
     65 
     66                        $GLOBALS['phpgw']->js->validate_file( 'dftree', 'dftree', 'phpgwapi' ); 
     67                        $GLOBALS['phpgw']->js->validate_file( 'dTabs', 'dTabs', 'phpgwapi' ); 
     68                        $GLOBALS['phpgw']->js->validate_file( 'dJSWin', 'dJSWin', 'phpgwapi' ); 
     69 
     70                        //$GLOBALS['phpgw']->js->validate_file( '', '', '' ); 
     71 
    6972                         
    7073                        $template->parse('out','api'); 
  • trunk/contactcenter/inc/class.ui_data.inc.php

    r2410 r2473  
    101101 
    102102//                      $GLOBALS['phpgw']->js->set_onload('setTimeout(\'updateCards()\',1000)'); 
    103                         $GLOBALS['phpgw']->common->phpgw_header(); 
     103                        //$GLOBALS['phpgw']->common->phpgw_header(); 
    104104 
    105105                        $GLOBALS['phpgw']->template->set_file(array('index' => 'index.tpl')); 
    106106                        $GLOBALS['phpgw']->template->set_var('cc_root_dir', $GLOBALS['phpgw_info']['server']['webserver_url'].'/contactcenter/'); 
     107 
     108                        $GLOBALS['phpgw']->template->set_var( 'url', $GLOBALS[ 'phpgw' ] -> link( '/contactcenter' ) ); 
    107109 
    108110                        /* Quick Add */ 
     
    263265                        $main .= $GLOBALS['phpgw']->template->get_var('out'); 
    264266 
     267                        echo $GLOBALS['phpgw']->common->get_java_script( ); 
    265268                        echo $main; 
    266269                } 
     
    384387 
    385388                                case 'email_win': 
    386                                         $GLOBALS['phpgw']->common->phpgw_header(); 
     389                                        //$GLOBALS['phpgw']->common->phpgw_header(); 
    387390                                        $api = CreateObject('contactcenter.ui_api'); 
    388391                                        $win = $api->get_email_win(); 
Note: See TracChangeset for help on using the changeset viewer.