diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-20 00:47:03 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-20 00:47:03 +0000 |
commit | df5329a5cbc46710392d12e72e28549a9c6bf691 (patch) | |
tree | 632f6d858c6cd160bd614c8ddb497b0183a13afc /libs/web/htdocs/luci-static/resources | |
parent | 7a5b6e34af277fe7c532830f7b2bae46b6af076d (diff) |
libs/web: fix row ordering for named sections
Diffstat (limited to 'libs/web/htdocs/luci-static/resources')
-rw-r--r-- | libs/web/htdocs/luci-static/resources/cbi.js | 2 |
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); } |