luci-base: luci.js: fix undefined "this" when /ubus/ is unavailable
authorJo-Philipp Wich <jo@mein.io>
Wed, 10 Jul 2019 11:30:52 +0000 (13:30 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 10 Jul 2019 11:30:52 +0000 (13:30 +0200)
commit69e5488c139f249fcf785d4ba170a90ed0e7f33c
tree5e82b8065e129afef5dce1a72b71f5efe401c7b6
parent1991b4ae64af79e3cd346d8383d3a586a16f6b80
luci-base: luci.js: fix undefined "this" when /ubus/ is unavailable

Fixes: #2850
Fixes: 66dfe64ca ("luci-base: luci.js: cache determined RPC base url in session storage")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js