projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5b6e3
)
libs/web: fix row ordering for named sections
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 20 Jan 2011 00:47:03 +0000
(
00:47
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 20 Jan 2011 00:47:03 +0000
(
00:47
+0000)
libs/web/htdocs/luci-static/resources/cbi.js
patch
|
blob
|
history
diff --git
a/libs/web/htdocs/luci-static/resources/cbi.js
b/libs/web/htdocs/luci-static/resources/cbi.js
index ac4eaa9b231c8cb08644c8185c4e1aaf371bbfc1..c1d0dfdc368a9e3f2eefb77ed2f0048f3c83f469 100644
(file)
--- 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);
}