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

View file

@ -778,6 +778,11 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
// Hide Google Calendar Sync buttons cause they can not be used within this view. // Hide Google Calendar Sync buttons cause they can not be used within this view.
$('#enable-sync, #google-sync').hide(); $('#enable-sync, #google-sync').hide();
// Auto-reload the results every one minute.
var interval = setInterval(function() {
$('#reload-appointments').trigger('click');
}, 60000);
}; };
})(window.BackendCalendarTableView); })(window.BackendCalendarTableView);