Ignore:
Timestamp:
05/05/10 15:52:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Adaptando todo o expressoAdmin1_2 para não realizar reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php

    r2459 r2712  
    4141                        $GLOBALS['phpgw']->js->validate_file('jscode','expressoadmin','expressoAdmin1_2'); 
    4242                        $GLOBALS['phpgw']->js->validate_file('jscode','maillists','expressoAdmin1_2'); 
     43                        $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script_thirst' ] .= "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>"; 
    4344                } 
    4445                 
     
    167168                function add_maillists() 
    168169                { 
    169                         $GLOBALS['phpgw']->js->set_onload('get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);'); 
    170  
    171170                        $manager_lid = $GLOBALS['phpgw']->accounts->data['account_lid']; 
    172171                        $manager_acl = $this->functions->read_acl($manager_lid); 
     
    210209                        $p->set_var($var); 
    211210                        $p->set_var($this->functions->make_dinamic_lang($p, 'body')); 
     211 
     212                        $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script' ] .= "<script>get_available_users(document.forms[0].org_context.value, document.forms[0].ea_check_allUsers.checked);</script>"; 
    212213                        $p->pfp('out','create_maillist'); 
    213214                } 
Note: See TracChangeset for help on using the changeset viewer.