Changed update interval to 15 seconds.

This commit is contained in:
Alex Tselegidis 2016-07-24 13:25:54 +02:00
parent 2bc7ab4103
commit a636d4510a

View file

@ -26,7 +26,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
* Bind page event handlers.
*/
function _bindEventHandlers() {
var $calendarToolbar = $('#calendar-toolbar');
var $calendarToolbar = $('#calendar-toolbar');
var $calendar = $('#calendar');
$calendar.on('click', '.calendar-header .btn.previous', function() {
@ -804,7 +804,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
// Auto-reload the results every one minute.
var interval = setInterval(function() {
$('#reload-appointments').trigger('click');
}, 60000);
}, 15000);
};
})(window.BackendCalendarTableView);