From 6c064295cacbd5029fce2c76eaff37bee2b83165 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 24 Jul 2016 10:55:47 +0200 Subject: [PATCH] The calendar table events will be automatically refreshed every 1 minute. --- src/assets/js/backend_calendar_table_view.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/assets/js/backend_calendar_table_view.js b/src/assets/js/backend_calendar_table_view.js index 80ab7ad0..9328033b 100644 --- a/src/assets/js/backend_calendar_table_view.js +++ b/src/assets/js/backend_calendar_table_view.js @@ -778,6 +778,11 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; // Hide Google Calendar Sync buttons cause they can not be used within this view. $('#enable-sync, #google-sync').hide(); + + // Auto-reload the results every one minute. + var interval = setInterval(function() { + $('#reload-appointments').trigger('click'); + }, 60000); }; })(window.BackendCalendarTableView);