diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-28 11:14:15 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-28 11:14:42 +0100 |
commit | b60b4790d1b1b8d52657c0c9ba91da86d0b8a28d (patch) | |
tree | dc247cd284afafbc642a5405dfb4608b4ad0c109 /modules/luci-base/luasrc/view | |
parent | 8c860a1d9cf4229419d0cc2eed99a1c001cf16c5 (diff) |
luci-base: add L.media() URL construction helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view')
-rw-r--r-- | modules/luci-base/luasrc/view/header.htm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/view/header.htm b/modules/luci-base/luasrc/view/header.htm index 6f7f0e48e7..fbede8ff57 100644 --- a/modules/luci-base/luasrc/view/header.htm +++ b/modules/luci-base/luasrc/view/header.htm @@ -18,6 +18,7 @@ <script type="text/javascript"> L = new LuCI(<%= luci.http.write_json({ token = token, + media = media, resource = resource, scriptname = luci.http.getenv("SCRIPT_NAME"), pathinfo = luci.http.getenv("PATH_INFO"), |