mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-13 21:12:56 -04:00
Reverted #41 fix i r906. IE cache issues, now fixed server side by r907
This commit is contained in:
parent
f98a93bdb0
commit
5a731133e2
@ -3,10 +3,10 @@ Event.observe(window,'load',initStatus);
|
||||
var UPDATE_FREQUENCY = 5000; // number of ms between updates
|
||||
|
||||
function initStatus(e) {
|
||||
new Ajax.Request('xml-rpc?method=stats&iefix='+Math.random(),{method: 'get',onComplete:rsStats});
|
||||
new Ajax.Request('xml-rpc?method=stats',{method: 'get',onComplete:rsStats});
|
||||
|
||||
window.setInterval(function () {
|
||||
new Ajax.Request('xml-rpc?method=stats&iefix='+Math.random(),{method: 'get',onComplete:rsStats});
|
||||
new Ajax.Request('xml-rpc?method=stats',{method: 'get',onComplete:rsStats});
|
||||
},UPDATE_FREQUENCY);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user