The calendar table events will be automatically refreshed every 1 minute.

This commit is contained in:
Alex Tselegidis 2016-07-24 10:55:47 +02:00
parent c4f5a26a55
commit 6c064295ca
1 changed files with 5 additions and 0 deletions

View File

@ -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);