forked from mirrors/easyappointments
The calendar table events will be automatically refreshed every 1 minute.
This commit is contained in:
parent
c4f5a26a55
commit
6c064295ca
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue