diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-07-07 15:12:47 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-07-09 11:51:43 +0200 |
commit | c0de036b3162d73e9fad878afaa32e7ca0df1fed (patch) | |
tree | 38a670eb18907dccdb44bb05b19c175a3dc11a19 /themes/luci-theme-freifunk-generic | |
parent | 069c0c93e1045188c9e86c8e7204b0647d2fdb19 (diff) |
treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-freifunk-generic')
-rw-r--r-- | themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index b6ed1f713..4a1c7b644 100644 --- a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -81,6 +81,7 @@ </style> <% end -%> <meta name="viewport" content="initial-scale=1.0" /> +<script type="text/javascript" src="<%=resource%>/cbi.js"></script> <script type="text/javascript" src="<%=resource%>/xhr.js"></script> <title><%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(tostring(node.title)) or '')) %> - LuCI</title> |