Changeset 7938 for branches/2.5/prototype/modules/calendar/js/helpers.js
- Timestamp:
- 03/01/13 17:03:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/prototype/modules/calendar/js/helpers.js
r7864 r7938 2102 2102 2103 2103 }); 2104 2105 2104 2105 $('ul.list-calendars .cal-list-options-btn').on('click',function(){doMenu();}); 2106 2106 2107 2107 … … 2275 2275 show_modal_search_shared(); 2276 2276 }); 2277 2278 2279 //TODO Implementar ocultar agendas. 2277 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.