From 1e3f74211ed0c9f5e91bcd95f2ac52ee77f7d947 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 12 Feb 2020 11:57:10 +0100 Subject: docs: update JS api docs Signed-off-by: Jo-Philipp Wich --- docs/jsapi/network.js.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'docs/jsapi/network.js.html') diff --git a/docs/jsapi/network.js.html b/docs/jsapi/network.js.html index 3b42218a6..4a306a23a 100644 --- a/docs/jsapi/network.js.html +++ b/docs/jsapi/network.js.html @@ -74,6 +74,8 @@
  • location
  • +
  • media
  • +
  • path
  • poll
  • @@ -220,12 +222,16 @@
  • exec
  • +
  • exec_direct
  • +
  • lines
  • list
  • read
  • +
  • read_direct
  • +
  • remove
  • stat
  • @@ -864,6 +870,8 @@ Methods +
  • blob
  • +
  • clone
  • json
  • @@ -1083,7 +1091,7 @@ var proto_errors = { CONNECT_FAILED: _('Connection attempt failed'), - INVALID_ADDRESS: _('IP address in invalid'), + INVALID_ADDRESS: _('IP address is invalid'), INVALID_GATEWAY: _('Gateway address is invalid'), INVALID_LOCAL_ADDRESS: _('Local IP address is invalid'), MISSING_ADDRESS: _('IP address is missing'), @@ -1463,6 +1471,7 @@ function initNetworkState(refresh) { type: dev.type, mtu: dev.mtu, qlen: dev.qlen, + wireless: dev.wireless, ipaddrs: [], ip6addrs: [] }; @@ -2226,7 +2235,10 @@ Network = L.Class.extend(/** @lends LuCI.Network.prototype */ { if (devices.hasOwnProperty(ifname)) continue; - if (isIgnoredIfname(ifname) || isVirtualIfname(ifname) || isWifiIfname(ifname)) + if (isIgnoredIfname(ifname) || isWifiIfname(ifname)) + continue; + + if (_state.netdevs[ifname].wireless) continue; devices[ifname] = this.instantiateDevice(ifname); @@ -5183,7 +5195,7 @@ return Network; -- cgit v1.2.3