Private
Public Access
Add Magic Remote directional navigation and OK activation
This commit is contained in:
1 parent
f3a9c0a0d8
commit
3160cf005b
11 files changed
+75
-12
No files matched your search
@@ -26,3 +26,5 @@ call('status',display);setInterval(function(){if(!pending.length)call('status',d
|
||||
document.getElementById('start').focus();
|
||||
|
||||
document.getElementById('autostart').onclick=function(){var button=this;var enabled=button.getAttribute('aria-checked')!=='true';button.disabled=true;call('autostart',function(r){button.disabled=false;if(r.returnValue===false)document.getElementById('error').textContent=r.errorText;else call('status',display);},{enabled:enabled});};
|
||||
|
||||
setupRemoteNavigation(['start','stop','refresh','autostart'].map(function(id){return document.getElementById(id);}),document,window);
|
||||
Reference in new issue
Block a user