luci-mod-system: mounts.js: preload fstab uci
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 16:46:17 +0000 (18:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 16:46:17 +0000 (18:46 +0200)
commit4518f8f3428471aa44fe7d2bd6e2cfa5be23af8f
treec027ad69a405f35df58bd22e668c6e14d4742c73
parente39ab8725531bd390d57a037823b8546f68ce5be
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>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js