diff options
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 8166ac44b1..a3f2e9e34a 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -537,6 +537,11 @@ return view.extend({ tdEl.lastChild.childNodes[3].disabled = true; } + if (dynamic) { + //disable the 'Edit' button on dynamic interfaces + tdEl.lastChild.childNodes[2].disabled = true; + } + return tdEl; }; |