RPi-Monitor icon indicating copy to clipboard operation
RPi-Monitor copied to clipboard

web status dont refresh

Open frezeen opened this issue 3 years ago • 2 comments

when i open rpimonitor page look static, no autorefresh every 10 secs , uptime clock seconds are static too with F5 i got new data

from console this is the only alarm or error i have: [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ jquery.min.js:4

frezeen avatar Aug 26 '20 11:08 frezeen

Have you checked "Auto refresh status page" in the "Options" menu?

Leepic avatar Nov 29 '20 00:11 Leepic

There's an issue with the code calling synchronous ajax calls and jQuery deprecating them. I got the "Options" menu to work finally on the status page by:

in file: /usr/share/rpimonitor/web/js/rpimonitor.js

at the end of the file, theres a function call: getVersion();

simply comment it out like so: //getVersion();

Save the file, refresh the page in browser and the menu in Options should have that option now.

gottaloveit avatar Apr 27 '21 02:04 gottaloveit