Changeset 7928 for trunk/prototype/modules/calendar/js/helpers.js
- Timestamp:
- 02/28/13 18:05:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/helpers.js
r7857 r7928 2102 2102 2103 2103 }); 2104 2105 $('ul.list-calendars .cal-list-options-btn').on('click',function(){doMenu();}); 2104 2105 $('ul.list-calendars .cal-list-options-btn').on('click',function(){doMenu();}); 2106 2106 2107 2107 … … 2276 2276 }); 2277 2277 2278 2279 //TODO Implementar ocultar agendas. 2278 2280 2279 meu_container.find('.title-signed-calendars').click(function(evt){ 2281 2280 var status = $(this).parent().find('.status-list-shared'); … … 2295 2294 var checkBox = $(this); 2296 2295 if(!!Calendar.currentView[ checkBox.val() ]){ 2296 2297 $.each(Calendar.signatures , function(index, value) { 2298 2299 if(value.calendar.id == checkBox.val()) 2300 { 2301 value.hidden = checkBox.is(':checked') ? 0 : 1 ; 2302 2303 DataLayer.put('calendarSignature', {id: ''+value.id , hidden: value.hidden } ); 2304 DataLayer.commit(); 2305 } 2306 2307 }); 2308 2297 2309 Calendar.currentView[ checkBox.val() ].hidden = !checkBox.is(':checked'); 2298 2310 $('#calendar').fullCalendar( 'refetchEvents' );
Note: See TracChangeset
for help on using the changeset viewer.