zoneminder/web/skins/bootstrap/views/js/cycle.js

12 lines
265 B
JavaScript

function nextCycleView()
{
window.location.replace( '?view=cycle&group='+currGroup+'&mid='+nextMid+'&mode='+mode, cycleRefreshTimeout );
}
function initCycle()
{
nextCycleView.periodical( cycleRefreshTimeout );
}
window.addEvent( 'domready', initCycle );