summaryrefslogtreecommitdiff
path: root/luci2/htdocs/luci2/view/network.interfaces.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-05-30 18:48:58 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-05-30 18:48:58 +0200
commit7add1278c5fcbc24bb5773fbb70fb0cf7407b863 (patch)
treee3a14e8e6279d81d26e213e0ff4a7192ce2f095b /luci2/htdocs/luci2/view/network.interfaces.js
parent93d60ecdd50dc8812ba76468de65ec0c4cb14fba (diff)
downloadluci2-ui-7add1278c5fcbc24bb5773fbb70fb0cf7407b863.tar.gz
luci2: nested section support and initial code refactoring
Implement support for nested CBI sections and change the internal function naming in luci2.js for better clarity. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'luci2/htdocs/luci2/view/network.interfaces.js')
-rw-r--r--luci2/htdocs/luci2/view/network.interfaces.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/luci2/htdocs/luci2/view/network.interfaces.js b/luci2/htdocs/luci2/view/network.interfaces.js
index a344327..a821ef5 100644
--- a/luci2/htdocs/luci2/view/network.interfaces.js
+++ b/luci2/htdocs/luci2/view/network.interfaces.js
@@ -274,7 +274,7 @@ L.ui.view.extend({
renderInterfaceForm: function(network)
{
- var m = new L.cbi.Modal('network', {
+ var m = new L.cbi.Map('network', {
tabbed: true,
caption: 'Interface config',
description: 'I can config interface!!!!'