Ignore:
Timestamp:
09/15/10 15:14:03 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1284 - Mapa de disponibilidade apresenta erro javascript

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/calendar/templates/default/edit.tpl

    r1154 r3254  
    1414        { 
    1515                Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes"); 
     16        } 
     17 
     18        function show_disponibility() { 
     19                participants = ""; 
     20                combo = document.getElementById('user_list'); 
     21                if(combo.length==0) { 
     22                        alert('Selecione os participantes'); 
     23                        return; 
     24                } 
     25 
     26                for (i=0;i<combo.length;i++) { 
     27                        participants+=combo[i].value+","; 
     28                } 
     29                url = 'index.php?menuaction=calendar.uicalendar.disponibility&participants='+participants+'&date='+document.getElementById('start[str]').value; 
     30 
     31                //alert(url); 
     32                document.getElementById('frame_disponibility').src = url; 
     33                document.getElementById('disponibility').style.display=''; 
     34                //window.open(url); 
    1635        } 
    1736</script> 
Note: See TracChangeset for help on using the changeset viewer.