summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-04-13 22:14:27 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-04-13 22:14:27 +0200
commitad4689b7aed8a254410e626b50a9483899cdb59e (patch)
tree463e076f634508bfb4e2706da73fc4c5767e7dd4
parent02da43bae9823adaa35a96997cff8668c6fc3dd0 (diff)
downloadluci2-ui-ad4689b7aed8a254410e626b50a9483899cdb59e.tar.gz
luci2: always load 'none' protocol explicitely since it serves as fallback for unknown protos
-rw-r--r--luci2/htdocs/luci2/luci2.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js
index 2d1c8bc..7c09901 100644
--- a/luci2/htdocs/luci2/luci2.js
+++ b/luci2/htdocs/luci2/luci2.js
@@ -1483,7 +1483,9 @@ function LuCI2()
_fetch_protocols: function()
{
var self = L.NetworkModel;
- var deferreds = [ ];
+ var deferreds = [
+ self._fetch_protocol('none')
+ ];
for (var proto in self._cache.protolist)
deferreds.push(self._fetch_protocol(proto));