From ad4689b7aed8a254410e626b50a9483899cdb59e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 13 Apr 2014 22:14:27 +0200 Subject: [PATCH] luci2: always load 'none' protocol explicitely since it serves as fallback for unknown protos --- luci2/htdocs/luci2/luci2.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.11.0