diff options
Diffstat (limited to 'www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js')
-rw-r--r-- | www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js b/www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js index 0220031d..1867ad8f 100644 --- a/www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js +++ b/www/wiki/extensions/SemanticResultFormats/formats/calendar/resources/ext.srf.formats.eventcalendar.js @@ -1110,6 +1110,13 @@ } ); } + // Allow to fetch the `srf.eventcalendar.fullCalendarRefresh` and trigger a click + // event to restore the fullCalendar in case the instance was part of tab (hidden + // during initialization) + $( document ).on( 'srf.eventcalendar.fullCalendarRefresh', function( event ) { + context.find( '.srf-calendarbutton-refresh' ).trigger( 'click' ); + } ); + // console.log( 'Data', data, 'Objects', _calendar ); } ); |