js/script.js : Add additional disk usage refresh.

In the current config, the disk usage is only refreshed during
PirateBox start or via Button. With that adjustment we create a
bit more load, but the usage is refreshed better.
This commit is contained in:
Matthias Strubel 2017-03-19 09:54:21 +01:00
parent e62957ab2a
commit 7602d1f7d7
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ CHANGELOG
* [Fix] Adjust hostapd.conf with comments & addtional parameter for n-mode wifi
* [Fix] Some help about setting up WPA2 mode for AP in hostapd.conf
* [Fix] Reduce browser cache to a minimum, which solves issues with shoutbox and diskusage
* [Fix] Trigger async disk usage refresh during page load
=== 1.1.2 ===
* [Fix] Upgrade 1.1.x - 1.1.x does not create content symlink

View File

@ -56,6 +56,7 @@ $(document).ready(function() {
}
});
post_diskusage();
// smooth scrolling for internal links
function filterPath(string) {