Skip to content

Commit 7602d1f

Browse files
committed
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.
1 parent e62957a commit 7602d1f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CHANGELOG
1212
* [Fix] Adjust hostapd.conf with comments & addtional parameter for n-mode wifi
1313
* [Fix] Some help about setting up WPA2 mode for AP in hostapd.conf
1414
* [Fix] Reduce browser cache to a minimum, which solves issues with shoutbox and diskusage
15+
* [Fix] Trigger async disk usage refresh during page load
1516

1617
=== 1.1.2 ===
1718
* [Fix] Upgrade 1.1.x - 1.1.x does not create content symlink

piratebox/piratebox/www_content/js/scripts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ $(document).ready(function() {
5656
}
5757
});
5858

59+
post_diskusage();
5960

6061
// smooth scrolling for internal links
6162
function filterPath(string) {

0 commit comments

Comments
 (0)