luci2: always load 'none' protocol explicitely since it serves as fallback for unknow...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Apr 2014 20:14:27 +0000 (22:14 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Apr 2014 20:14:27 +0000 (22:14 +0200)
luci2/htdocs/luci2/luci2.js

index 2d1c8bc..7c09901 100644 (file)
@@ -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));