diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-21 18:46:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-21 18:46:17 +0200 |
commit | 4518f8f3428471aa44fe7d2bd6e2cfa5be23af8f (patch) | |
tree | c027ad69a405f35df58bd22e668c6e14d4742c73 /modules/luci-mod-system/htdocs/luci-static | |
parent | e39ab8725531bd390d57a037823b8546f68ce5be (diff) |
luci-mod-system: mounts.js: preload fstab uci
Preload the uci configuration on page load to avoid accidential double
rendering of the globals section and mount overview table.
Fixes: e39ab8725 ("luci-mod-system: mounts.js: implicitely create globals section")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js index dfc17ee732..301ebab331 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js @@ -137,7 +137,8 @@ return L.view.extend({ callFileStat('/usr/sbin/e2fsck'), callFileStat('/usr/sbin/fsck.f2fs'), callFileStat('/usr/sbin/dosfsck'), - callFileStat('/usr/bin/btrfsck') + callFileStat('/usr/bin/btrfsck'), + uci.load('fstab') ]); }, |