Ignore:
Timestamp:
02/28/13 18:05:55 (11 years ago)
Author:
cristiano
Message:

Ticket #3363 - Manter preferencia do checkbox de visualizacao das agendas no ExpressoCalendar?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/templates/calendar_list.ejs

    r7097 r7928  
    2222 
    2323                <div> 
    24                     <input class="calendar-view" type="checkbox" name="" value="<%= signatures['taskGroup'][i].calendar.id %>" checked="checked"/> 
     24                    <input class="calendar-view" type="checkbox" name="" value="<%= signatures['taskGroup'][i].calendar.id %>" <% if( signatures['taskGroup'][i].hidden != '1' ) { %> checked="checked" <% } %> /> 
    2525                    <label><%= signatures['taskGroup'][i].calendar.name %></label> 
    2626 
     
    5757 
    5858                <div> 
    59                     <input class="calendar-view" type="checkbox" name="" value="<%= signatures['calendar'][i].calendar.id %>" checked="checked"/> 
     59                    <input class="calendar-view" type="checkbox" name="" value="<%= signatures['calendar'][i].calendar.id %>" <% if( signatures['calendar'][i].hidden != '1') { %> checked="checked" <% } %> /> 
    6060                    <label><%= signatures['calendar'][i].calendar.name %></label> 
    6161 
     
    9191                <li class="list-calendars-item list-calendars-item-<%= signatures['sharedCalendar'][i].calendar.id %>" title="<%= signatures['sharedCalendar'][i].calendar.name %>"> 
    9292                 <div> 
    93                             <input class="calendar-view" type="checkbox" name="" value="<%= signatures['sharedCalendar'][i].calendar.id %>" checked="checked"/> 
     93                            <input class="calendar-view" type="checkbox" name="" value="<%= signatures['sharedCalendar'][i].calendar.id %>" <% if( signatures['sharedCalendar'][i].hidden  != '1') { %> checked="checked" <% } %> /> 
    9494                            <label><%= signatures['sharedCalendar'][i].calendar.name %></label> 
    9595                         </div> 
Note: See TracChangeset for help on using the changeset viewer.