summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-status/luasrc/view')
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/index.htm9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/luci-mod-status/luasrc/view/admin_status/index.htm b/modules/luci-mod-status/luasrc/view/admin_status/index.htm
index 8e00564da4..7d7a42c2e3 100644
--- a/modules/luci-mod-status/luasrc/view/admin_status/index.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/index.htm
@@ -69,9 +69,10 @@ function renderBadge(icon, title) {
-%>
</div>
-<script type="text/javascript">L.require('view.status.index').catch(function(err) {
- dom.content(document.querySelector('#view'), null);
- L.error(err);
-});</script>
+<script type="text/javascript">
+ L.require('ui').then(function(ui) {
+ ui.instantiateView('status/index');
+ });
+</script>
<%+footer%>