Changed update interval to 15 seconds.
This commit is contained in:
parent
2bc7ab4103
commit
a636d4510a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue