summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-20 00:47:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-20 00:47:03 +0000
commitdf5329a5cbc46710392d12e72e28549a9c6bf691 (patch)
tree632f6d858c6cd160bd614c8ddb497b0183a13afc /libs/web/htdocs
parent7a5b6e34af277fe7c532830f7b2bae46b6af076d (diff)
libs/web: fix row ordering for named sections
Diffstat (limited to 'libs/web/htdocs')
-rw-r--r--libs/web/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js
index ac4eaa9b2..c1d0dfdc3 100644
--- a/libs/web/htdocs/luci-static/resources/cbi.js
+++ b/libs/web/htdocs/luci-static/resources/cbi.js
@@ -751,7 +751,7 @@ function cbi_row_swap(elem, up, store)
/cbi-rowstyle-[12]/, 'cbi-rowstyle-' + (1 + (idx % 2))
);
- if (table.rows[idx].id && table.rows[idx].id.match(/-(cfg[0-9a-f]+)$/) )
+ if (table.rows[idx].id && table.rows[idx].id.match(/-([^\-]+)$/) )
ids.push(RegExp.$1);
}