Changeset 2748 for trunk/calendar


Ignore:
Timestamp:
05/10/10 11:47:10 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Corrigindo problema no calendario para adicionar evento e na visao diaria.

Location:
trunk/calendar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uicalendar.inc.php

    r2549 r2748  
    52185218                                                                                        '</tr>'. 
    52195219                                                                                        '</table>'.  
    5220                                                                                         '<script type="text/javascript" src="phpgwapi/js/dJSWin/dJSWin.js"></script>'.           
    5221                                                                                         "<script src='calendar/js/edit_exmail.js' type='text/javascript'></script>" . 
     5220                                                                                        '<script type="text/javascript" src="' . $GLOBALS[ 'phpgw' ] -> link( '/phpgwapi/js/dJSWin/dJSWin.js' ) .'"></script>'.          
     5221                                                                                        '<script src="' . $GLOBALS[ 'phpgw' ] -> link( '/calendar/js/edit_exmail.js' ) . '" type="text/javascript"></script>' . 
    52225222                                                                                        $load_lang_vars.                                 
    52235223                                                                                        "<script type='text/javascript'>var DEFAULT_URL = '".$module_name."/controller.php?action=';</script> ".                                                                                         
  • trunk/calendar/js/edit.js

    r1643 r2748  
    6262                        participants+=combo[i].value+","; 
    6363                } 
    64                 url = 'index.php?menuaction=calendar.uicalendar.disponibility&participants='+participants+'&date='+document.getElementById('start[str]').value; 
     64                url = ExpressoLivre.path( ) + 'index.php?menuaction=calendar.uicalendar.disponibility&BackgroundRequest='+Date.parse( new Date )+'&participants='+participants+'&date='+document.getElementById('start[str]').value; 
    6565                 
    6666                //alert(url); 
  • trunk/calendar/js/edit_exmail.js

    r2630 r2748  
    5656var handler_get_available_users = function(data) 
    5757{        
     58        data = data.JSON( ); 
    5859        select_available_users = Element('user_list_in'); 
    5960         
     
    9091        } 
    9192        var context = document.getElementById('combo_org').value;        
    92         cExecute (module+'.ldap_functions.get_available_users&context='+context+'&type='+type, handler_get_available_users); 
     93        ExpressoLivre.go( { 
     94                "access" : module+'.ldap_functions.get_available_users&context='+context+'&type='+type, 
     95                "handler" : handler_get_available_users 
     96        } ); 
    9397} 
    9498 
     
    145149                if (oText.value.length >= numMin){ 
    146150                        var context = document.getElementById('combo_org').value; 
    147                         cExecute ('expressoMail1_2.ldap_functions.search_users&context='+(context)+'&type='+(type == '' ? 'list' : 'search')+'&filter='+oText.value, handler_get_available_users); 
     151                        ExpressoLivre.go( { 
     152                                "access" : 'expressoMail1_2.ldap_functions.search_users&context='+escape(context)+'&type='+(type == '' ? 'list' : 'search')+'&filter='+oText.value, 
     153                                "handler" : handler_get_available_users 
     154                        } ); 
    148155                        oWait.innerHTML = '&nbsp;'; 
    149156                } 
Note: See TracChangeset for help on using the changeset viewer.